Fixed a bug where it tried to verify an email when there wasn't any
All checks were successful
the build was successful
All checks were successful
the build was successful
This commit is contained in:
parent
13024086d9
commit
d27b5d6870
|
@ -52,7 +52,7 @@
|
|||
beforeMount() {
|
||||
// Try to verify the email
|
||||
let emailVerifyToken = localStorage.getItem('emailConfirmToken')
|
||||
if (emailVerifyToken !== '') {
|
||||
if (emailVerifyToken) {
|
||||
this.loading = true
|
||||
HTTP.post(`user/confirm`, {token: emailVerifyToken})
|
||||
.then(() => {
|
||||
|
|
Reference in New Issue
Block a user