Skip to content

feat(site): allow disabling email verification#1540

Open
AsyncAssassin wants to merge 1 commit into
apache:devfrom
AsyncAssassin:feat/1517-disable-email-verification
Open

feat(site): allow disabling email verification#1540
AsyncAssassin wants to merge 1 commit into
apache:devfrom
AsyncAssassin:feat/1517-disable-email-verification

Conversation

@AsyncAssassin
Copy link
Copy Markdown

Fixes #1517

Proposed Changes

  • Add a require_email_verification login setting that defaults to true to preserve the current behavior.
  • Expose the setting through the admin login settings API and UI.
  • Allow newly registered email users to become active immediately when email verification is disabled.
  • Keep existing unverified users unchanged.
  • Add migration and regression tests for legacy login settings and registration behavior.

Testing

  • go test ./internal/migrations -run 'TestBackfillRequireEmailVerification|TestAddRequireEmailVerification|TestSplitLegalMenuKeepsRequireEmailVerificationDefaultTrue' -count=1 -v
  • go test ./...
  • make lint
  • make ui
  • make build

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.

1 participant