Fixed problem with wrong redirects behind proxy

This commit is contained in:
Christoph Haas 2018-08-08 09:09:27 +02:00
parent c0e81bd271
commit f41afd1a48

View file

@ -107,5 +107,6 @@ Rails.application.configure do
}
# 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