feat: automatically switch to index and fill in newly given creds
This commit is contained in:
@@ -55,9 +55,9 @@ export const SetPassword = () => {
|
||||
|
||||
if (resp.ok) {
|
||||
console.log(resp);
|
||||
navigate({
|
||||
pathname: "/",
|
||||
search: `?username=${encodeURI(username)}&password=${encodeURI(password)}`,
|
||||
navigate("/", {
|
||||
replace: true,
|
||||
state: { username: username, password: password },
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user