Merge branch 'main' into vue3

This commit is contained in:
Dominik Pschenitschni 2021-10-15 20:43:11 +02:00
commit 8e1ab8e09b
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
16 changed files with 126 additions and 80 deletions

View file

@ -19,6 +19,7 @@
import {mapState} from 'vuex'
import logoUrl from '@/assets/logo-full.svg'
import { saveLastVisited } from '@/helpers/saveLastVisited'
export default {
name: 'contentNoAuth',
@ -57,6 +58,7 @@ export default {
localStorage.getItem('passwordResetToken') === null &&
localStorage.getItem('emailConfirmToken') === null
) {
saveLastVisited(this.$route.name, this.$route.params)
this.$router.push({name: 'user.login'})
}
},