mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-01-08 18:59:43 -06:00
Merge pull request #1895 from renatoka/fix/1894-register-token-stringify
fix: stringify token upon registration
This commit is contained in:
@@ -239,7 +239,6 @@ const Register = ({ isSuperAdmin }) => {
|
||||
const action = await dispatch(register(registerForm));
|
||||
if (action.payload.success) {
|
||||
const authToken = action.payload.data;
|
||||
localStorage.setItem("token", authToken);
|
||||
navigate("/uptime");
|
||||
createToast({
|
||||
body: "Welcome! Your account was created successfully.",
|
||||
|
||||
Reference in New Issue
Block a user