mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-24 08:58:06 +00:00
show error message on case self signup login error (#20979)
This commit is contained in:
parent
d760f95296
commit
ea16c1cdab
@ -362,6 +362,7 @@ export const AuthProvider = ({
|
|||||||
if (err?.response?.status === 404) {
|
if (err?.response?.status === 404) {
|
||||||
if (!authConfig?.enableSelfSignup) {
|
if (!authConfig?.enableSelfSignup) {
|
||||||
resetUserDetails();
|
resetUserDetails();
|
||||||
|
showErrorToast(err);
|
||||||
history.push(ROUTES.UNAUTHORISED);
|
history.push(ROUTES.UNAUTHORISED);
|
||||||
} else {
|
} else {
|
||||||
setNewUserProfile(user.profile);
|
setNewUserProfile(user.profile);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user