diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-09-14 16:16:45 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-09-14 16:16:45 +0200 |
| commit | df3b808792daa745b5b0d5b9896ddca8849fe8b1 (patch) | |
| tree | b2f3fdb0a94984343a27e5a74441924c5bba6ee1 /packages/meshbay-common/src/meshbay_common/protocol.py | |
| parent | c33286acacf647fddef7ad8e167fd1e2a98ea3a9 (diff) | |
| download | meshbay-df3b808792daa745b5b0d5b9896ddca8849fe8b1.tar.gz | |
fix(ui): a signed-in person is never shown the sign-in form
The router rendered `#/login`, `#/register` and `#/reset` before it checked
for a user. A browser signed in as one account, opening on a `#/login` left
in the address bar, drew the login form (prefilled by the browser with
another account) under a navigation bar and a sidebar already showing the
first account and its Administration entry.
`#/login` and `#/register` now need no one signed in, and a signed-in person
landing on either is sent home with `location.replace`, so Back does not lead
to the form again. `#/reset` stays reachable: that flow signs in half-way and
still has its progress and result to show.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T6jPTeocXA1BePekdsgPya
Diffstat (limited to 'packages/meshbay-common/src/meshbay_common/protocol.py')
0 files changed, 0 insertions, 0 deletions