Redirect to /contests after authentication

#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
def after_authentication_url
session.delete(:return_to_after_authenticating) || root_url
session.delete(:return_to_after_authenticating) || "/contests"
end
def start_new_session_for(user)