Consume user_return_to on sign-in
This commit is contained in:
@@ -39,7 +39,7 @@ class ApplicationController < ActionController::Base
|
|||||||
end
|
end
|
||||||
|
|
||||||
def after_sign_in_path_for(user)
|
def after_sign_in_path_for(user)
|
||||||
session[:user_return_to] || root_path
|
session.delete(:user_return_to) || root_path
|
||||||
end
|
end
|
||||||
|
|
||||||
def lndhub_authenticate(options={})
|
def lndhub_authenticate(options={})
|
||||||
|
|||||||
Reference in New Issue
Block a user