mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
dashboard pw reset fix
This commit is contained in:
parent
493a264a39
commit
a357065f1d
@ -34,8 +34,7 @@
|
||||
try {
|
||||
await requestPasswordResetConfirm(token, password)
|
||||
|
||||
// Hard refresh and send the user back to the login screen
|
||||
// window.location.href = '/login'
|
||||
window.location.href = '/login'
|
||||
} catch (error) {
|
||||
if (error instanceof Error) {
|
||||
formErrors = client().parseError(error)
|
||||
|
Loading…
x
Reference in New Issue
Block a user