Consume user_return_to on sign-in

This commit is contained in:
2026-08-10 11:21:59 -06:00
parent a62d84e20a
commit 29a9dee1cb
+1 -1
View File
@@ -39,7 +39,7 @@ class ApplicationController < ActionController::Base
end
def after_sign_in_path_for(user)
session[:user_return_to] || root_path
session.delete(:user_return_to) || root_path
end
def lndhub_authenticate(options={})