-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUG FIX] [MER-3619] Fix an issue where account creation silently fai…
…ls in certain cases (#5108) * fix an issue where account creation was not properly filtering out LTI accounts * remove redundant clause * Auto format --------- Co-authored-by: eliknebel <eliknebel@users.noreply.github.com>
- Loading branch information
Showing
5 changed files
with
40 additions
and
30 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
35 changes: 23 additions & 12 deletions
35
lib/oli_web/templates/email/account_already_exists.html.eex
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 |
---|---|---|
@@ -1,12 +1,23 @@ | ||
<div class="flex flex-column gap-y-4"> | ||
<h3>Are you trying to create a new account?</h3> | ||
<p> | ||
Someone tried to create an account with this email but an account already exists. | ||
If this was you, you can login <%= link "here", to: @url, target: "_blank" %> with your existing email and password. | ||
If you forgot your password, you can reset it by clicking <%= link "Forgot Password?", to: @forgot_password, target: "_blank" %>. | ||
</p> | ||
<p>If this was not you, you can disregard this email.</p> | ||
</div> | ||
|
||
|
||
|
||
<table align="center" role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%" style="margin: auto;"> | ||
<tr> | ||
<td style="background-color: #ffffff; padding: 20px 10px;"> | ||
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%"> | ||
<tr> | ||
<td style="padding: 20px; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;"> | ||
<h1 style="margin: 0 0 10px 0; font-family: sans-serif; font-size: 25px; line-height: 30px; color: #333333; font-weight: normal;">Trying to create a new account?</h1> | ||
<p style="margin: 20px 0;"> | ||
We noticed there was an attempt to create a new account with this email but an account already exists. | ||
</p> | ||
<p style="margin: 20px 0;"> | ||
If this was you, <%= link "sign in to your existing account", to: @login_url, target: "_blank", style: "color: #2C67C4;" %>. | ||
If you forgot your password, you can reset it <%= link "here", to: @forgot_password_url, target: "_blank", style: "color: #2C67C4;" %>. | ||
</p> | ||
<p style="margin: 20px 0;"> | ||
If this was not you, you can ignore this email. | ||
</p> | ||
</td> | ||
</tr> | ||
</table> | ||
</td> | ||
</tr> | ||
</table> |