Fix password reset
This commit is contained in:
parent
60c21cc36a
commit
624e4e6d27
3 changed files with 6 additions and 4 deletions
|
|
@ -33,7 +33,9 @@ export default {
|
|||
this.$route.name !== 'user.password-reset.reset' &&
|
||||
this.$route.name !== 'user.register' &&
|
||||
this.$route.name !== 'link-share.auth' &&
|
||||
this.$route.name !== 'openid.auth'
|
||||
this.$route.name !== 'openid.auth' &&
|
||||
localStorage.getItem('passwordResetToken') === null &&
|
||||
localStorage.getItem('emailConfirmToken') === null
|
||||
) {
|
||||
this.$router.push({name: 'user.login'})
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue