Skip to content
Snippets Groups Projects
Unverified Commit 1f486c59 authored by Jed Fox's avatar Jed Fox Committed by GitHub
Browse files

Don’t force user to re-enter password after changing it (#675)

parent 63b48812
No related branches found
No related tags found
No related merge requests found
...@@ -34,10 +34,8 @@ export default function ChangePassword() { ...@@ -34,10 +34,8 @@ export default function ChangePassword() {
setError(error); setError(error);
} else { } else {
setMessage('Password successfully changed'); setMessage('Password successfully changed');
await send('subscribe-sign-in', { password });
setTimeout(() => { history.push('/');
history.push('/');
}, 1500);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment