I have a user able to update their account with a profile photo. This updates the user’s data in my xano table.
After updating the user table, I can’t figure out a way to fetch or update the current user for weweb’s front end.
I notice that ‘refreshing’ the page works, or logging out and in. But that’s a specific user action and I would rather have it done automatically after the update is complete.
Any ideas?
I was thinking a javascript workaround to force a refresh on the page. I tried location.reload(); but it doesn’t work very well within the editor, so I’m not sure how well it works when published. Is there a simple way in weweb to update the logged in user?