email verification review

This commit is contained in:
Peter Papp
2021-07-15 13:55:49 +02:00
parent edfcf8e1bd
commit 157427c750
21 changed files with 323 additions and 12247 deletions

View File

@@ -138,16 +138,16 @@
// End loading
this.isLoading = false
if(! config.userVerification) {
if(! this.config.userVerification) {
// Set login state
this.$store.commit('SET_AUTHORIZED', true)
// Go to files page
this.$router.push({name: 'Files'})
} else {
// Go to sign-in page
this.$router.push({name: 'SignIn'})
}
// Go to SuccessfullySend page
this.$router.push({name: 'SuccessfullySend'})
}
})
.catch(error => {

View File

@@ -6,6 +6,12 @@
<h1>{{ $t('page_email_successfully_send.title') }}</h1>
<h2>{{ $t('page_email_successfully_send.subtitle') }}</h2>
<span class="additional-link">
<router-link :to="{name: 'Homepage'}" class="text-theme">
{{ $t('go_home') }}
</router-link>
</span>
</AuthContent>
</AuthContentWrapper>