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">
|
||||
Loading...
|
||||
</div>
|
||||
<div class="notification is-danger" v-if="error">
|
||||
<div class="notification is-danger" v-if="errorMsg !== ''">
|
||||
{{ errorMsg }}
|
||||
</div>
|
||||
</form>
|
||||
|
@ -76,7 +76,7 @@
|
|||
|
||||
if (this.credentials.password2 !== this.credentials.password) {
|
||||
this.loading = false
|
||||
this.errorMsg = 'Passwords don\'t match'
|
||||
this.errorMsg = 'Passwords don\'t match.'
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue