-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(platform): fix a typo in the activation email template
- Loading branch information
Showing
3 changed files
with
3 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
<p>{{{encoded_activation_link}}}</p> | ||
<p>Or, simply copy and paste the following code into the account activation form:</p> | ||
<p class="numeric-code">{{{encoded_activation_code}}}</p> | ||
<p>If you have any trouble activating your account, please email as at <a href="mailto: [email protected]">[email protected]</a> | ||
<p>If you have any trouble activating your account, please email us at <a href="mailto: [email protected]">[email protected]</a> | ||
or simply reply to this email.</p> | ||
<a href="{{home_link}}"><img src="cid:secutils-logo" alt="Secutils.dev logo" width="89" height="14" /></a> | ||
</div> | ||
|
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 |
---|---|---|
|
@@ -174,7 +174,7 @@ mod tests { | |
subject: "Activate your Secutils.dev account", | ||
text: "To activate your Secutils.dev account, please use the following code: some-code. Alternatively, navigate to the following URL in your browser: http:https://localhost:1234/activate?code=some-code&flow=00000000-0000-0000-0000-000000000001", | ||
html: Some( | ||
"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <title>Activate your Secutils.dev account</title>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n <style>\n body {\n font-family: Arial, sans-serif;\n background-color: #f1f1f1;\n margin: 0;\n padding: 0;\n }\n .container {\n max-width: 600px;\n margin: 0 auto;\n background-color: #fff;\n padding: 20px;\n border-radius: 5px;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n }\n h1 {\n font-size: 24px;\n margin-top: 0;\n }\n p {\n font-size: 16px;\n line-height: 1.5;\n margin-bottom: 20px;\n }\n .navigate-link {\n display: block;\n width: 250px;\n margin: auto;\n padding: 10px 20px;\n text-align: center;\n text-decoration: none;\n color: #5e1d3f;\n background-color: #fed047;\n border-radius: 5px;\n font-weight: bold;\n }\n .numeric-code {\n display: block;\n width: 100px;\n margin: auto;\n padding: 10px 20px;\n text-align: center;\n color: #5e1d3f;\n background-color: #fed047;\n border-radius: 5px;\n font-weight: bold;\n }\n </style>\n</head>\n<body>\n<div class=\"container\">\n <p>Hi there,</p>\n <p>Thanks for signing up! To activate your account, please click the button below:</p>\n <a class=\"navigate-link\" href=\"http:https://localhost:1234/activate?code=some-code&flow=00000000-0000-0000-0000-000000000001\">Activate my account</a>\n <p>Alternatively, copy and paste the following URL into your browser:</p>\n <p>http:https://localhost:1234/activate?code=some-code&flow=00000000-0000-0000-0000-000000000001</p>\n <p>Or, simply copy and paste the following code into the account activation form:</p>\n <p class=\"numeric-code\">some-code</p>\n <p>If you have any trouble activating your account, please email as at <a href=\"mailto: [email protected]\">[email protected]</a>\n or simply reply to this email.</p>\n <a href=\"http:https://localhost:1234/\"><img src=\"cid:secutils-logo\" alt=\"Secutils.dev logo\" width=\"89\" height=\"14\" /></a>\n</div>\n</body>\n</html>\n", | ||
"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <title>Activate your Secutils.dev account</title>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n <style>\n body {\n font-family: Arial, sans-serif;\n background-color: #f1f1f1;\n margin: 0;\n padding: 0;\n }\n .container {\n max-width: 600px;\n margin: 0 auto;\n background-color: #fff;\n padding: 20px;\n border-radius: 5px;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n }\n h1 {\n font-size: 24px;\n margin-top: 0;\n }\n p {\n font-size: 16px;\n line-height: 1.5;\n margin-bottom: 20px;\n }\n .navigate-link {\n display: block;\n width: 250px;\n margin: auto;\n padding: 10px 20px;\n text-align: center;\n text-decoration: none;\n color: #5e1d3f;\n background-color: #fed047;\n border-radius: 5px;\n font-weight: bold;\n }\n .numeric-code {\n display: block;\n width: 100px;\n margin: auto;\n padding: 10px 20px;\n text-align: center;\n color: #5e1d3f;\n background-color: #fed047;\n border-radius: 5px;\n font-weight: bold;\n }\n </style>\n</head>\n<body>\n<div class=\"container\">\n <p>Hi there,</p>\n <p>Thanks for signing up! To activate your account, please click the button below:</p>\n <a class=\"navigate-link\" href=\"http:https://localhost:1234/activate?code=some-code&flow=00000000-0000-0000-0000-000000000001\">Activate my account</a>\n <p>Alternatively, copy and paste the following URL into your browser:</p>\n <p>http:https://localhost:1234/activate?code=some-code&flow=00000000-0000-0000-0000-000000000001</p>\n <p>Or, simply copy and paste the following code into the account activation form:</p>\n <p class=\"numeric-code\">some-code</p>\n <p>If you have any trouble activating your account, please email us at <a href=\"mailto: [email protected]\">[email protected]</a>\n or simply reply to this email.</p>\n <a href=\"http:https://localhost:1234/\"><img src=\"cid:secutils-logo\" alt=\"Secutils.dev logo\" width=\"89\" height=\"14\" /></a>\n</div>\n</body>\n</html>\n", | ||
), | ||
attachments: Some( | ||
[ | ||
|
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 |
---|---|---|
|
@@ -97,7 +97,7 @@ mod tests { | |
subject: "Activate your Secutils.dev account", | ||
text: "To activate your Secutils.dev account, please use the following code: some-code. Alternatively, navigate to the following URL in your browser: http:https://localhost:1234/activate?code=some-code&flow=00000000-0000-0000-0000-000000000001", | ||
html: Some( | ||
"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <title>Activate your Secutils.dev account</title>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n <style>\n body {\n font-family: Arial, sans-serif;\n background-color: #f1f1f1;\n margin: 0;\n padding: 0;\n }\n .container {\n max-width: 600px;\n margin: 0 auto;\n background-color: #fff;\n padding: 20px;\n border-radius: 5px;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n }\n h1 {\n font-size: 24px;\n margin-top: 0;\n }\n p {\n font-size: 16px;\n line-height: 1.5;\n margin-bottom: 20px;\n }\n .navigate-link {\n display: block;\n width: 250px;\n margin: auto;\n padding: 10px 20px;\n text-align: center;\n text-decoration: none;\n color: #5e1d3f;\n background-color: #fed047;\n border-radius: 5px;\n font-weight: bold;\n }\n .numeric-code {\n display: block;\n width: 100px;\n margin: auto;\n padding: 10px 20px;\n text-align: center;\n color: #5e1d3f;\n background-color: #fed047;\n border-radius: 5px;\n font-weight: bold;\n }\n </style>\n</head>\n<body>\n<div class=\"container\">\n <p>Hi there,</p>\n <p>Thanks for signing up! To activate your account, please click the button below:</p>\n <a class=\"navigate-link\" href=\"http:https://localhost:1234/activate?code=some-code&flow=00000000-0000-0000-0000-000000000001\">Activate my account</a>\n <p>Alternatively, copy and paste the following URL into your browser:</p>\n <p>http:https://localhost:1234/activate?code=some-code&flow=00000000-0000-0000-0000-000000000001</p>\n <p>Or, simply copy and paste the following code into the account activation form:</p>\n <p class=\"numeric-code\">some-code</p>\n <p>If you have any trouble activating your account, please email as at <a href=\"mailto: [email protected]\">[email protected]</a>\n or simply reply to this email.</p>\n <a href=\"http:https://localhost:1234/\"><img src=\"cid:secutils-logo\" alt=\"Secutils.dev logo\" width=\"89\" height=\"14\" /></a>\n</div>\n</body>\n</html>\n", | ||
"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <title>Activate your Secutils.dev account</title>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n <style>\n body {\n font-family: Arial, sans-serif;\n background-color: #f1f1f1;\n margin: 0;\n padding: 0;\n }\n .container {\n max-width: 600px;\n margin: 0 auto;\n background-color: #fff;\n padding: 20px;\n border-radius: 5px;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n }\n h1 {\n font-size: 24px;\n margin-top: 0;\n }\n p {\n font-size: 16px;\n line-height: 1.5;\n margin-bottom: 20px;\n }\n .navigate-link {\n display: block;\n width: 250px;\n margin: auto;\n padding: 10px 20px;\n text-align: center;\n text-decoration: none;\n color: #5e1d3f;\n background-color: #fed047;\n border-radius: 5px;\n font-weight: bold;\n }\n .numeric-code {\n display: block;\n width: 100px;\n margin: auto;\n padding: 10px 20px;\n text-align: center;\n color: #5e1d3f;\n background-color: #fed047;\n border-radius: 5px;\n font-weight: bold;\n }\n </style>\n</head>\n<body>\n<div class=\"container\">\n <p>Hi there,</p>\n <p>Thanks for signing up! To activate your account, please click the button below:</p>\n <a class=\"navigate-link\" href=\"http:https://localhost:1234/activate?code=some-code&flow=00000000-0000-0000-0000-000000000001\">Activate my account</a>\n <p>Alternatively, copy and paste the following URL into your browser:</p>\n <p>http:https://localhost:1234/activate?code=some-code&flow=00000000-0000-0000-0000-000000000001</p>\n <p>Or, simply copy and paste the following code into the account activation form:</p>\n <p class=\"numeric-code\">some-code</p>\n <p>If you have any trouble activating your account, please email us at <a href=\"mailto: [email protected]\">[email protected]</a>\n or simply reply to this email.</p>\n <a href=\"http:https://localhost:1234/\"><img src=\"cid:secutils-logo\" alt=\"Secutils.dev logo\" width=\"89\" height=\"14\" /></a>\n</div>\n</body>\n</html>\n", | ||
), | ||
attachments: Some( | ||
[ | ||
|