Fix error container at registration page always being displayed
This commit is contained in:
parent
8c82c2302f
commit
269b80e64e
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@
|
||||||
<div class="notification is-info" v-if="loading">
|
<div class="notification is-info" v-if="loading">
|
||||||
Loading...
|
Loading...
|
||||||
</div>
|
</div>
|
||||||
<div class="notification is-danger" v-if="error">
|
<div class="notification is-danger" v-if="errorMsg !== ''">
|
||||||
{{ errorMsg }}
|
{{ errorMsg }}
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
@ -76,7 +76,7 @@
|
||||||
|
|
||||||
if (this.credentials.password2 !== this.credentials.password) {
|
if (this.credentials.password2 !== this.credentials.password) {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
this.errorMsg = 'Passwords don\'t match'
|
this.errorMsg = 'Passwords don\'t match.'
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue