]> git.openstreetmap.org Git - rails.git/commit
Use a 307 Temporary Redirect to redirect to authentication
authorTom Hughes <tom@compton.nu>
Wed, 3 Mar 2021 09:27:33 +0000 (09:27 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 3 Mar 2021 09:27:33 +0000 (09:27 +0000)
commit2233edbcfa15d532c2232e5e71a2a2495e3a72eb
tree89f6d60d6842f2f5b4e6bcf1343eeb523ee58c94
parentff3a30d2458cc11ce058343fc6e55b894dc33d9c
Use a 307 Temporary Redirect to redirect to authentication

When the user wants to enable an external authenticator we need
to redirect to omniauth but that now needs to be a POST so use a
redirect that preserves the POST method.

Fixes #3114
app/controllers/users_controller.rb