PLT-7194 Add email when adding user access tokens (#7087)

* Add email when adding user access tokens

* Update en.json

* Update en.json
Этот коммит содержится в:
Joram Wilander
2017-08-03 08:51:52 -04:00
коммит произвёл GitHub
родитель 43c523e839
Коммит 713673c888
3 изменённых файлов: 49 добавлений и 1 удалений

Просмотреть файл

@@ -2419,6 +2419,18 @@
"id": "api.templates.password_change_subject",
"translation": "[{{ .SiteName }}] Your password has been updated"
},
{
"id": "api.templates.user_access_token_body.info",
"translation": "A user access token was added to your account on {{ .SiteURL }}. They can be used to access {{.SiteName}} with your account.<br>If this change wasn't initiated by you, please contact your system administrator."
},
{
"id": "api.templates.user_access_token_body.title",
"translation": "User access token added to your account"
},
{
"id": "api.templates.user_access_token_subject",
"translation": "[{{ .SiteName }}] User access token added to your account"
},
{
"id": "api.templates.post_body.button",
"translation": "Go To Post"
@@ -2835,6 +2847,10 @@
"id": "api.user.send_password_change_email_and_forget.error",
"translation": "Failed to send update password email successfully"
},
{
"id": "api.user.send_user_access_token.error",
"translation": "Failed to send user access token added email successfully"
},
{
"id": "api.user.send_password_reset.find.app_error",
"translation": "We couldnt find an account with that address."