planetscale / beam

A simple message board for your organization or project
https://planetscale.com/blog/introducing-beam
MIT License
2.06k stars 141 forks source link

Trigger a full page reload after updating the profile #43

Closed bogdansoare closed 2 years ago

bogdansoare commented 2 years ago

Because we disabled refetchOnWindowFocus in next-auth, the hack for reloading the session doesn't work anymore so a full page reload is necessary after updating the profile.

Will investigate further if there are any workarounds, there is a discussion open in next-auth https://github.com/nextauthjs/next-auth/discussions/3953 but no real progress for now.

vercel[bot] commented 2 years ago

@bogdansoare is attempting to deploy a commit to the PlanetScale Team on Vercel.

To accomplish this, @bogdansoare needs to request access to the Team.

Afterwards, an owner of the Team is required to accept their membership request.

If you're already a member of the respective Vercel Team, make sure that your Personal Vercel Account is connected to your GitHub account.