Fix Naming/AccessorMethodName
cop (#25924)
This commit is contained in:
parent
b8b2470cf8
commit
5134fc65e2
3 changed files with 2 additions and 6 deletions
|
@ -124,7 +124,7 @@ class Auth::SessionsController < Devise::SessionsController
|
|||
redirect_to new_user_session_path, alert: I18n.t('devise.failure.timeout')
|
||||
end
|
||||
|
||||
def set_attempt_session(user)
|
||||
def register_attempt_in_session(user)
|
||||
session[:attempt_user_id] = user.id
|
||||
session[:attempt_user_updated_at] = user.updated_at.to_s
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue