Fixed problem with wrong redirects behind proxy
This commit is contained in:
parent
c0e81bd271
commit
f41afd1a48
1 changed files with 2 additions and 1 deletions
|
|
@ -107,5 +107,6 @@ Rails.application.configure do
|
||||||
}
|
}
|
||||||
|
|
||||||
# Any action dealing with authentication should redirect to HTTPS
|
# Any action dealing with authentication should redirect to HTTPS
|
||||||
config.to_prepare { Devise::SessionsController.force_ssl }
|
# Disabled because it will redirect incorrectly behind a proxy.
|
||||||
|
# config.to_prepare { Devise::SessionsController.force_ssl }
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue