mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Отключена передача токена авторизации при выполнении запросов в сторону формы восстановления пароля
This commit is contained in:
@@ -32,7 +32,8 @@ const authentication = {
|
|||||||
}) {
|
}) {
|
||||||
return request.post(
|
return request.post(
|
||||||
'/api/authentication/forgot-password',
|
'/api/authentication/forgot-password',
|
||||||
{login}
|
{login},
|
||||||
|
{token: null}
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -43,7 +44,8 @@ const authentication = {
|
|||||||
}) {
|
}) {
|
||||||
return request.post(
|
return request.post(
|
||||||
'/api/authentication/recover-password',
|
'/api/authentication/recover-password',
|
||||||
{key, newPassword, newRePassword}
|
{key, newPassword, newRePassword},
|
||||||
|
{token: null}
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user