Commit 40ed1fd8 authored by Matija Obreza's avatar Matija Obreza
Browse files

Merge branch '400-reset-password-improvements-in-ui' into 'main'

Reset password improvements in UI

Closes #400

See merge request grin-global/grin-global-ui!392
parents 0ca8c7df 019c4854
......@@ -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