First user is superadmin instead of admin
This commit is contained in:
1 parent
ef02bd8078
commit
4c2cc6fb2c
5 files changed
+27
-17
No files matched your search
@@ -301,7 +301,7 @@ const Login = () => {
|
||||
return;
|
||||
}
|
||||
networkService
|
||||
.doesAdminExist()
|
||||
.doesSuperAdminExist()
|
||||
.then((response) => {
|
||||
if (response.data.data === false) {
|
||||
navigate("/register");
|
||||
|
||||
Reference in new issue
Block a user