mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-24 00:48:36 +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 (!authConfig?.enableSelfSignup) {
|
||||
resetUserDetails();
|
||||
showErrorToast(err);
|
||||
history.push(ROUTES.UNAUTHORISED);
|
||||
} else {
|
||||
setNewUserProfile(user.profile);
|
||||
|
Loading…
x
Reference in New Issue
Block a user