Skip to content

sec: disable email and password signup - #66

Merged
TobiasGleiter merged 2 commits into
mainfrom
sec-disable-manual-signup
Sep 5, 2026
Merged

TobiasGleiter merged 2 commits into
mainfrom
sec-disable-manual-signup

Conversation

@TobiasGleiter

Copy link
Copy Markdown
Contributor

Closes #32

  • Implemented disabling email and password signup via flag.
  • Flag must be called at start time e.g. -enable-email-password-signup=false. Default value is true
  • Removed UI and endpoints for /signup

This is particularly helpful for self hosters who want to avoid signups on the instances. OIDC will still work as intended.

Besides this, I removed an abstraction layer which was not necessary. See changes in cmd/web/handlers:login.go

…word signup. This is particularly useful for selfhoster to prevent unwanted signups after first email password signup or disable it for OIDC use completely #32
@TobiasGleiter TobiasGleiter self-assigned this Sep 5, 2026
@TobiasGleiter
TobiasGleiter merged commit bdc825d into main Sep 5, 2026
2 checks passed
@TobiasGleiter
TobiasGleiter deleted the sec-disable-manual-signup branch September 5, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sec: disable signup to prevent unwanted signups

1 participant