From 3143190333a48111b223e674dd6f76a44ecee126 Mon Sep 17 00:00:00 2001 From: Andrei Dekterev Date: Fri, 14 Jan 2022 11:32:27 +0300 Subject: [PATCH] chore(#2163): add lexic for user not confirm --- src/features/AuthServiceApp/config/lexics.tsx | 1 + src/features/AuthServiceApp/requests/auth.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/features/AuthServiceApp/config/lexics.tsx b/src/features/AuthServiceApp/config/lexics.tsx index 0bafeeb1..f4456fc4 100644 --- a/src/features/AuthServiceApp/config/lexics.tsx +++ b/src/features/AuthServiceApp/config/lexics.tsx @@ -16,6 +16,7 @@ export const lexics = { error_simple_password: 12940, error_unsupported_response_type: 15922, error_user_already_created: 15926, + error_user_not_confirm: 16069, error_user_not_found: 15956, error_user_not_found_recovery: 1417, forgot_password: 1561, diff --git a/src/features/AuthServiceApp/requests/auth.tsx b/src/features/AuthServiceApp/requests/auth.tsx index b7fa63ee..bd1126da 100644 --- a/src/features/AuthServiceApp/requests/auth.tsx +++ b/src/features/AuthServiceApp/requests/auth.tsx @@ -3,6 +3,7 @@ import { getApiUrl } from '../config/routes' const errorLexics = { 1: 'error_invalid_email_or_password', 4: 'error_user_not_found', + 11: 'error_user_not_confirm', } type FailedResponse = {