1
0
mirror of https://github.com/spacebarchat/docs.git synced 2024-11-08 11:22:31 +01:00

docs for spacebarchat/server d18584f8e9f9423f9d72d837a36a0c3cad6e8d101

This commit is contained in:
Madeline 2023-08-12 15:41:08 +10:00
parent fe78b80337
commit e424fce994
No known key found for this signature in database
GPG Key ID: 1958E017C36F2E47

View File

@ -68,15 +68,14 @@ They are simple HTML files, which you may edit freely. Although HTML mail is ver
Below are the available strings replaced in mail templates.
| string | replaced with |
| ------------------------ | ---------------------------------------------------------------------------- |
| ----------------------- | ---------------------------------------------------------------------------- |
| `{instanceName}` | `general_instanceName` config value |
| `{userUsername}` | The username of the user this email is being sent to |
| `{userDiscriminator}` | The discriminator of the user this email is being sent to |
| `{userId}` | The ID of the user this email is being sent to |
| `{phoneNumber}` | The last 4 digits of the user's phone number. |
| `{userEmail}` | The user's email address |
| `{emailVerificationUrl}` | The generated email verification URL |
| `{passwordResetUrl}` | The generated password reset URL |
| `{actionUrl}` | The generated password reset or email verification link |
| `{ipAddress}` | The IP address of new login (New login emails are not currently implemented) |
| `{locationCity}` | The GeoIP city of new login |
| `{locationRegion}` | The GeoIP region of new login |