fix: login validation
This commit is contained in:
1 parent
fd38a9d7eb
commit
40ef5c9be4
6 files changed
+79
-151
No files matched your search
@@ -233,7 +233,6 @@ const Register = ({ isSuperAdmin }) => {
|
||||
if (action.payload.success) {
|
||||
const authToken = action.payload.data;
|
||||
localStorage.setItem("token", authToken);
|
||||
/* navigate("/"); */
|
||||
navigate("/monitors");
|
||||
createToast({
|
||||
body: "Welcome! Your account was created successfully.",
|
||||
|
||||
Reference in new issue
Block a user