fix(templates): plain text email misleading (#5036)

The plain text email template for identity verifications indicates it's for registering a 2FA device but it may also be used for password resets. This fixes that issue.

Fixes #4915
pull/5039/head
James Elliott 2023-03-07 10:45:59 +11:00 committed by GitHub
parent 4c2010017e
commit a91762c15b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
This email has been sent to you in order to validate your identity. This email has been sent to you in order to validate your identity. Purpose: {{ .Title }}.
If you did not initiate the process your credentials might have been compromised and you should reset your password and contact an administrator. If you did not initiate the process your credentials might have been compromised and you should reset your password and contact an administrator.
To setup your 2FA please visit the following URL: {{ .LinkURL }} To confirm your identity please visit the following URL: {{ .LinkURL }}
This email was generated by a user with the IP {{ .RemoteIP }}. This email was generated by a user with the IP {{ .RemoteIP }}.