diff --git a/src/services/api/authentication.js b/src/services/api/authentication.js index 5c25e40..69d3a92 100644 --- a/src/services/api/authentication.js +++ b/src/services/api/authentication.js @@ -32,7 +32,8 @@ const authentication = { }) { return request.post( '/api/authentication/forgot-password', - {login} + {login}, + {token: null} ); }, @@ -43,7 +44,8 @@ const authentication = { }) { return request.post( '/api/authentication/recover-password', - {key, newPassword, newRePassword} + {key, newPassword, newRePassword}, + {token: null} ); },