diff options
Diffstat (limited to 'modern/src/components/registration/ResetPasswordForm.js')
-rw-r--r-- | modern/src/components/registration/ResetPasswordForm.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modern/src/components/registration/ResetPasswordForm.js b/modern/src/components/registration/ResetPasswordForm.js index a3b29f2a..6c41a9ea 100644 --- a/modern/src/components/registration/ResetPasswordForm.js +++ b/modern/src/components/registration/ResetPasswordForm.js @@ -7,6 +7,7 @@ import ArrowBackIcon from '@material-ui/icons/ArrowBack'; import StartPage from '../../StartPage'; import { useTranslation } from '../../LocalizationProvider'; import useQuery from '../../common/useQuery'; +import { snackBarDurationShortMs } from '../../common/duration'; const useStyles = makeStyles((theme) => ({ title: { @@ -60,7 +61,7 @@ const ResetPasswordForm = () => { anchorOrigin={{ vertical: 'top', horizontal: 'center' }} open={snackbarOpen} onClose={() => history.push('/login')} - autoHideDuration={6000} + autoHideDuration={snackBarDurationShortMs} message={!token ? t('loginResetSuccess') : t('loginUpdateSuccess')} /> <Grid container direction="column" spacing={2}> |