Open cvalues opened 1 year ago
Hi, only option to refetch user right now is window.location.reload()
.
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.
Hi,
how to refresh the user? To call "await $sanctumAuth.getUser()" again, seems not to make an api call?
KR