Fix sign-in page to show Sign Up link only when sign-up is enabled
Build and Deploy / build-and-deploy (push) Successful in 1m44s

This commit is contained in:
2026-08-19 10:22:09 -04:00
parent d9b9876875
commit d4d552b3f4
4 changed files with 19 additions and 8 deletions
@@ -41,7 +41,8 @@ truthy-value parser. Set the resulting boolean on the `AuthHandler`.
`UserCount() > 0` check).
- Replace the `hasUsers()` helper (driven by user count) with a check on
`AllowSignup`, so the Sign In page shows/ hides the "Sign Up" nav link
based on whether sign-up is enabled.
based on whether sign-up is enabled. The sign-in template passes
`AllowSignup` and renders the link with `{{if .AllowSignup}}`.
### Unchanged