1
0
mirror of https://github.com/spacebarchat/docs.git synced 2024-11-22 02:02:32 +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

@ -67,17 +67,16 @@ 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 |
| `{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 |
| `{locationCountryName}` | The GeoIP country of new login |
| 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 |
| `{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 |
| `{locationCountryName}` | The GeoIP country of new login |