added form validation
This commit is contained in:
parent
8622f9e9db
commit
3912bc0044
8 changed files with 120 additions and 56 deletions
|
|
@ -79,7 +79,6 @@ export const authUser = async (data: IAuthData) => {
|
|||
body: JSON.stringify(data),
|
||||
});
|
||||
const responseData = await handleResponse(response);
|
||||
console.log("Полный ответ сервера:", responseData);
|
||||
|
||||
const token = responseData.accessToken || responseData.token;
|
||||
if (token) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue