MM-9779: Incorporate a Token into the invitations system (#8604)

* Incorporate a Token into the invitations system

* Adding unit tests

* Fixing some api4 client tests

* Removing unnecesary hash validation

* Change the Hash concept on invitations with tokenId

* Not send invitation if it wasn't able to create the Token

* Fixing some naming problems

* Changing the hash query params received from the client side

* Removed unneded data param in the token usage
Этот коммит содержится в:
Jesús Espino
2018-04-18 22:46:10 +02:00
коммит произвёл Christopher Speller
родитель b13a228b04
Коммит 0910eae31d
15 изменённых файлов: 349 добавлений и 170 удалений

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

@@ -2851,8 +2851,8 @@
"translation": "Encountered an issue joining default channels user_id=%s, team_id=%s, err=%v"
},
{
"id": "api.user.create_user.missing_hash_or_data.app_error",
"translation": "Missing Hash or URL query data."
"id": "api.user.create_user.missing_token.app_error",
"translation": "Missing Token."
},
{
"id": "api.user.create_user.missing_invite_id.app_error",