You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Had a user who exceeded ten unsuccessful login attempts. It wasn't obvious to me how to unlock him, so I thought I'd capture that here.
My user model is Suser, by the way.
First, I found the user: user = Suser.where(email: )
Then, denoted the unlock token, which in this case was HEe6PYPXUy2DdAsa5-kr
Then, from the console, entered
Suser.load_from_unlock_token("HEe6PYPXUy2DdAsa5-kr").login_unlock!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Had a user who exceeded ten unsuccessful login attempts. It wasn't obvious to me how to unlock him, so I thought I'd capture that here.
My user model is Suser, by the way.
First, I found the user: user = Suser.where(email: )
Then, denoted the unlock token, which in this case was HEe6PYPXUy2DdAsa5-kr
Then, from the console, entered
Suser.load_from_unlock_token("HEe6PYPXUy2DdAsa5-kr").login_unlock!
Beta Was this translation helpful? Give feedback.
All reactions