# Let people reset a forgotten password, or add one to a Discord account · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/df8761a9a61efdaac8824864d05d088d676b172f)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: df8761a9a61efdaac8824864d05d088d676b172f

Requested commit: df8761a9a61efdaac8824864d05d088d676b172f

Commit: df8761a9a61efdaac8824864d05d088d676b172f

Tree: 46da8523703480001b42c554694738846e452112

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Let people reset a forgotten password, or add one to a Discord account

The sign-in dialog had no way back in for someone who forgot their
password, and an account made with Discord could never sign in with
email. "Forgot password?" now emails Supabase's reset link to the same
redirect Discord uses; the link signs the user in as passwordRecovery and
the app asks for a new password.

Saving it makes Supabase report the user updated on the same session.
Setting Convex up again for that pulled auth out from under the library's
live queries and raised "Cloud connection lost", so a same-session user
update now only refreshes the user.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [1d15062cfa6207f4f9d6df4b79f1da926f02ba65](https://git.cafe/dara/icarus/commit/1d15062cfa6207f4f9d6df4b79f1da926f02ba65?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/df8761a9a61efdaac8824864d05d088d676b172f?format=markdown)
