diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-20 14:08:43 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-20 14:08:43 +0300 |
| commit | b70dfdb80d897abf77b74a78eb59b984dfba64d4 (patch) | |
| tree | cbb1fd305a6e66737212fa7161b45d01a9c4e8b3 /player-server/internal/api/server_test.go | |
| parent | 5300abbe90cf88d9c9d898c4b69989eaf312261b (diff) | |
Block bootstrap.html access after first user created (o9)
serveBootstrap now calls CountUsers() and redirects to /login.html
when the user count is non-zero, preventing the bootstrap form from
being reachable on an already-configured instance.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Diffstat (limited to 'player-server/internal/api/server_test.go')
0 files changed, 0 insertions, 0 deletions
