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
It relies on the current_sign_in_at attribute changing on my user after a successful login. Once it changes, the same token will always be invalid and cannot be reused.
The text was updated successfully, but these errors were encountered:
With Rails 7.1 and generates_token_for I was able to create a single use tokenizer example pretty easily.
Sharing in case it's helpful:
then in my
User
modelIt relies on the
current_sign_in_at
attribute changing on my user after a successful login. Once it changes, the same token will always be invalid and cannot be reused.The text was updated successfully, but these errors were encountered: