mirror of
https://github.com/neocities/neocities.git
synced 2025-08-05 17:18:02 +02:00
email confirmation
This commit is contained in:
parent
63d9348012
commit
4fe339f51f
4 changed files with 56 additions and 13 deletions
|
@ -56,6 +56,19 @@
|
|||
<input class="btn-Action" type="submit" value="Change Password">
|
||||
</form>
|
||||
|
||||
<h2>Change Email</h2>
|
||||
<form method="POST" action="/change_email">
|
||||
<%== csrf_token_input_html %>
|
||||
|
||||
<p>Current Email: <strong><%= current_site.email %></strong></p>
|
||||
<p>New Email:</p>
|
||||
<input class="input-Area" name="email" type="text">
|
||||
|
||||
<div>
|
||||
<input class="btn-Action" type="submit" value="Change Email">
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
<h2>Change Site (User) Name</h2>
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
Hello <%= @site.username %>,
|
||||
Hello <%= site.username %>,
|
||||
|
||||
Please confirm your email address for Neocities!
|
||||
|
||||
You can confirm your email address using the link below:
|
||||
|
||||
https://neocities.org/site/<%= @site.username %>/confirm_email/<%= @site.email_confirmation_token %>
|
||||
https://neocities.org/site/<%= site.username %>/confirm_email/<%= site.email_confirmation_token %>
|
||||
|
||||
Thank you!
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue