From 02d812e1f02ddabf05c0b68d67fd225eb22319a8 Mon Sep 17 00:00:00 2001 From: 24c02 <163450896+24c02@users.noreply.github.com> Date: Fri, 30 Jan 2026 13:37:02 -0500 Subject: [PATCH] lawg in --- app/controllers/application_controller.rb | 2 +- app/controllers/sessions_controller.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 5a7a580..c4c3879 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -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 diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index 2c1ff6c..a6ce6c4 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -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