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
{{ message }}
This repository was archived by the owner on Sep 18, 2025. It is now read-only.
What happens if the User Model is updated? You cached the tokenable, so it's a User|Admin instance. Therefore, if the User|Admin is updated, the tokenable is not updated. I added this code to the User model; I think it solves the problem.
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
Uh oh!
There was an error while loading. Please reload this page.
-
What happens if the User Model is updated? You cached the tokenable, so it's a User|Admin instance. Therefore, if the User|Admin is updated, the tokenable is not updated. I added this code to the User model; I think it solves the problem.
Beta Was this translation helpful? Give feedback.
All reactions