-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refresh user #28
Comments
Hi, only option to refetch user right now is |
Hi, my solution now, i change the user data diretyl in the auth.user object after server response. |
yes, you could do that too, but there is a slight chance that the data would deviate from the source. I so would still recommend refreshing the app after changing user data. |
yeah i know, but i want to avoit a reload in a spa. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
how to refresh the user?
To call "await $sanctumAuth.getUser()" again, seems not to make an api call?
KR
The text was updated successfully, but these errors were encountered: