IO-1442 Update login error codes.

This commit is contained in:
Patrick Fic
2022-04-11 13:28:51 -07:00
parent 51d49be16e
commit 6b13dffe68
5 changed files with 85 additions and 1 deletions

View File

@@ -81,7 +81,10 @@ export function SignInComponent({
/>
</Form.Item>
{signInError ? (
<AlertComponent type="error" message={signInError.message} />
<AlertComponent
type="error"
message={t(`users.errors.signinerror.${signInError.code}`)}
/>
) : null}
<Button
className="login-btn"