-
-
Notifications
You must be signed in to change notification settings - Fork 902
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Send email to current email address on request to update email
This would ensure unintended email address update don't go unnoticed.
- Loading branch information
1 parent
46420dc
commit 375863b
Showing
15 changed files
with
126 additions
and
12 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,45 @@ | ||
<% @title = t(".title") %> | ||
<% @sub_title = "Hi #{@user.handle}" %> | ||
|
||
<!-- Body --> | ||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff"> | ||
<tr> | ||
<td class="content-spacing" style="font-size:0pt; line-height:0pt; text-align:left" width="20"></td> | ||
<td> | ||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"><tr><td height="35" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"> </td></tr></table> | ||
|
||
<div class="h3-1-center" style="color:#1e1e1e; font-family:Georgia, serif; min-width:auto !important; font-size:20px; line-height:26px;"> | ||
<p> | ||
You have requested email update on RubyGems.org. Once you click on confirmation link sent to your new email address, your account will be disassociated from | ||
<%= @user.email %>. | ||
</p> | ||
<p> | ||
New email address: <strong><%= @user.unconfirmed_email %></strong> | ||
</p> | ||
<br/> | ||
<p>If this email update is expected, you do not need to take further action.</p> | ||
<p> | ||
<strong>Only if this email update is unexpected</strong> | ||
please take immediate steps to secure your account and gems: | ||
</p> | ||
<ol> | ||
<li>If you suspect your account was compromised: | ||
<ul> | ||
<li><%= link_to("Change your password", new_password_url) %></li> | ||
<li><%= link_to("Reset your API key", edit_profile_url) %></li> | ||
<li><%= link_to("Enable multifactor authentication", edit_profile_url) %></li> | ||
</ul> | ||
</li> | ||
<li><%= link_to("Report this", page_url("security")) %> incident to RubyGems.org</li> | ||
</ol> | ||
</div> | ||
|
||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"><tr><td height="30" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"> </td></tr></table> | ||
|
||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"><tr><td height="35" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"> </td></tr></table> | ||
|
||
</td> | ||
<td class="content-spacing" style="font-size:0pt; line-height:0pt; text-align:left" width="20"></td> | ||
</tr> | ||
</table> | ||
<!-- END Body --> |
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
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
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