From e2c50515b19bb3975cdf2609e9630fe862c65900 Mon Sep 17 00:00:00 2001 From: sto Date: Thu, 4 Dec 2025 17:31:06 +0100 Subject: [PATCH] Redirect to `/contests` after authentication https://gitea.puzzle-scoreboard.org/sto/puzzle-scoreboard/issues/25 --- app/controllers/concerns/authentication.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/concerns/authentication.rb b/app/controllers/concerns/authentication.rb index cbe69f2..972cbba 100644 --- a/app/controllers/concerns/authentication.rb +++ b/app/controllers/concerns/authentication.rb @@ -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)