Organization_Management : Organization Hierarchy #443
@ -52,7 +52,7 @@ const LoginWithOtp = () => {
|
||||
setLoading(false);
|
||||
localStorage.removeItem("otpUsername");
|
||||
localStorage.removeItem("otpSentTime");
|
||||
navigate("/dashboard");
|
||||
navigate("/auth/switch/org");
|
||||
|
||||
} catch (err) {
|
||||
showToast("Invalid or expired OTP.", "error");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user