Skip to content

Commit

Permalink
Update Docs Password Update
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnGrubba committed Jul 8, 2024
1 parent 5c6d6ec commit d823d67
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/getting-started/email_config.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Default E-Mail Templates

# E-Mail Templates
EZAuth uses a set of default E-mail templates to send out e-mails to users. These templates are stored in the `config/email` folder. You can customize these templates as per your requirements.

!!! Info "E-Mail Subject"
Expand Down Expand Up @@ -33,11 +32,11 @@ EZAuth uses a set of default E-mail templates to send out e-mails to users. Thes
- File Name: `ChangePassword.html`

#### Additional Placeholders
- `{{code}}`: The confirmation code to confirm the email address.
- `{{code}}`: The confirmation code to confirm the password change.
- `{{time}}`: Time remaining before the confirmation code expires in minutes. (e.g. 5). This will be the same as the `signup.conf_code_expiry` value in the `config.json` file.


# Custom E-Mail Templates
## Custom E-Mail Templates
You can add custom e-mail templates to the `config/email` folder.
Whenever you are able to specifiy a E-Mail Template, you can specify the template you want to use by providing the file name without the `.html` extension.
Example: `WelcomeMail` will use the `WelcomeMail.html` template.
Expand Down

0 comments on commit d823d67

Please sign in to comment.