Redirect to /contests after authentication
All checks were successful
CI / scan_ruby (push) Successful in 19s
CI / scan_js (push) Successful in 13s
CI / lint (push) Successful in 13s
CI / test (push) Successful in 35s

#25
This commit is contained in:
sto
2025-12-04 17:31:06 +01:00
parent 51e55f0828
commit e2c50515b1

View File

@@ -35,7 +35,7 @@ module Authentication
end end
def after_authentication_url def after_authentication_url
session.delete(:return_to_after_authenticating) || root_url session.delete(:return_to_after_authenticating) || "/contests"
end end
def start_new_session_for(user) def start_new_session_for(user)