-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support reset_email_by_code email template (#1119)
* Support reset_email_by_code email template * Update unit tests * Update timeOut to 5 seconds for auth0 test login test * Update go-auth0 version to the latest
- Loading branch information
1 parent
da13038
commit dc0bab3
Showing
6 changed files
with
54 additions
and
34 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
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 |
---|---|---|
|
@@ -155,3 +155,18 @@ tests: | |
syntax: "liquid" | ||
urlLifetimeInSeconds: "6100" | ||
enabled: "true" | ||
021 - it successfully updates change-password-code email template: | ||
command: auth0 email templates update change-password-code --enabled --body "<h1>Change password (by code)</h1>" --from "[email protected]" --lifetime 6100 --subject "Change password (using code)" --url "travel0.com" --force | ||
exit-code: 0 | ||
|
||
022 - it successfully shows change-password-code email template: | ||
command: auth0 email templates show change-password-code | ||
exit-code: 0 | ||
stdout: | ||
contains: | ||
- TEMPLATE reset_email_by_code | ||
- FROM [email protected] | ||
- SUBJECT Change password (using code) | ||
- RESULT URL travel0.com | ||
- RESULT URL LIFETIME 6100 | ||
- ENABLED ✓ |
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