-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement email verification process; update user model and add…
… verification email functionality
- Loading branch information
1 parent
c11ef72
commit 3ce8ded
Showing
13 changed files
with
524 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<style> | ||
body { font-family: Arial, sans-serif; line-height: 1.6; color: #333; } | ||
.container { max-width: 600px; margin: 0 auto; padding: 20px; } | ||
.header { text-align: center; padding: 20px 0; } | ||
.button { | ||
display: inline-block; | ||
padding: 10px 20px; | ||
background-color: #007bff; | ||
color: white; | ||
text-decoration: none; | ||
border-radius: 5px; | ||
margin: 20px 0; | ||
} | ||
.footer { text-align: center; margin-top: 30px; font-size: 0.9em; color: #666; } | ||
</style> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<div class="header"> | ||
<h1>Verify Your Email</h1> | ||
</div> | ||
|
||
<p>Hello {{ username }},</p> | ||
<p>Thank you for registering. Please click the button below to verify your email address:</p> | ||
|
||
<div style="text-align: center;"> | ||
<a href="{{ verification_url }}" class="button">Verify Email</a> | ||
</div> | ||
|
||
<p>Or copy and paste this link in your browser:</p> | ||
<p>{{ verification_url }}</p> | ||
|
||
<p>This link will expire in 24 hours.</p> | ||
|
||
<div class="footer"> | ||
<p>If you didn't create an account, please ignore this email.</p> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.