This commit is contained in:
24c02 2026-01-30 13:37:02 -05:00
parent 77ce6315a5
commit 02d812e1f0
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ class ApplicationController < ActionController::Base
def signed_in? = current_user.present?
def require_authentication!
redirect_to login_path, alert: "Please sign in to continue." unless signed_in?
redirect_to root_path, alert: "Please sign in to continue." unless signed_in?
end
def impersonating? = false

View file

@ -20,6 +20,6 @@ class SessionsController < ApplicationController
end
def failure
redirect_to login_path, alert: "Authentication failed: #{params[:message]}"
redirect_to root_path, alert: "Authentication failed: #{params[:message]}"
end
end