Fixed logging in on translator pages
This commit is contained in:
parent
3b531cebd6
commit
2f5b1ea161
@ -27,6 +27,10 @@ class ApplicationController < LinguaFrancaApplicationController
|
||||
|
||||
ActionMailer::Base.default_url_options = {:host => "#{request.protocol}#{request.host_with_port}"}
|
||||
|
||||
if request.post? && params[:action] == 'do_confirm'
|
||||
halt_redirection!
|
||||
end
|
||||
|
||||
# call the base method to detect the language
|
||||
super
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user