Commit 019c4854 authored by Maksym Tishchenko's avatar Maksym Tishchenko Committed by Matija Obreza
Browse files

Reset password improvements in UI

parent 0ca8c7df
......@@ -39,7 +39,7 @@ class ResetPasswordPage extends React.Component<PropsFromRedux & WithTranslation
return LoginService.updatePassword(tokenUUID, key, password, captcha?.captcha)
.then(() => {
this.setState({ emailSent: true })
this.setState({ resetSuccess: true })
.catch((e) => {
if (window.grecaptcha) window.grecaptcha.reset();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment