Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: email verification #145

Merged
merged 12 commits into from
Dec 16, 2024
Merged

feat: email verification #145

merged 12 commits into from
Dec 16, 2024

Conversation

christophenne
Copy link
Member

@christophenne christophenne commented Dec 16, 2024

⚠️ needs DB migration

ALTER TABLE UserAccount ADD COLUMN email_verified_at TIMESTAMP;

To update all existing users to be verified:

UPDATE UserAccount SET email_verified_at = current_timestamp WHERE email_verified_at IS NULL;

Signed-off-by: christophenne <christoph.enne@glasskube.eu>
# Conflicts:
#	internal/handlers/auth.go
#	internal/mailtemplates/templates.go
Signed-off-by: christophenne <christoph.enne@glasskube.eu>
Signed-off-by: christophenne <christoph.enne@glasskube.eu>
Signed-off-by: christophenne <christoph.enne@glasskube.eu>
@christophenne christophenne changed the title feat: email verification [WIP] feat: email verification Dec 16, 2024
@christophenne christophenne requested a review from kosmoz December 16, 2024 10:19
Signed-off-by: christophenne <christoph.enne@glasskube.eu>
internal/handlers/auth.go Outdated Show resolved Hide resolved
internal/handlers/settings.go Outdated Show resolved Hide resolved
Signed-off-by: christophenne <christoph.enne@glasskube.eu>
Signed-off-by: christophenne <christoph.enne@glasskube.eu>
@christophenne christophenne requested a review from kosmoz December 16, 2024 11:23
Signed-off-by: christophenne <christoph.enne@glasskube.eu>
Signed-off-by: christophenne <christoph.enne@glasskube.eu>
@kosmoz kosmoz merged commit e78be22 into main Dec 16, 2024
2 checks passed
@kosmoz kosmoz deleted the christoph/email-verification branch December 16, 2024 13:45
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.

2 participants