changed mock credentials
This commit is contained in:
@ -33,7 +33,7 @@ const Register = () => {
|
||||
}
|
||||
|
||||
// TODO: request to API - register
|
||||
if (username === "cat" && password === "cat") {
|
||||
if (username === "user" && password === "user") {
|
||||
const token = "newusertodo.jwt.token";
|
||||
setToken(token);
|
||||
navigate(redirectPath, { replace: true });
|
||||
|
||||
Reference in New Issue
Block a user