Skip to content

Commit a7c1ae1

Browse files
patch0grega
andauthored
Update config/routes.rb
Co-authored-by: Greg Annandale <greg@raspberrypi.org>
1 parent 90c8efd commit a7c1ae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/routes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Dummy routes. These routes are never reached in the app, as Omniauth
55
# intercepts it via Rack middleware before it reaches Rails, however adding
66
# them allows us to use rpi_auth_login_path helpers etc.
7-
post '/auth/rpi', as: :rpi_auth_login
7+
post '/auth/rpi', as: :rpi_auth_login, params: { login_options: 'v1_signup' }
88
post '/auth/rpi', as: :rpi_auth_signup, params: { login_options: 'force_signup,v1_signup' }
99

1010
namespace 'rpi_auth' do

0 commit comments

Comments
 (0)