This commit is contained in:
Jörn-Michael Miehe 2019-05-07 10:55:01 +02:00
parent e8dbb7b161
commit 01049e67fd

View file

@ -54,15 +54,15 @@ export default {
showPassword: false, showPassword: false,
passwordRules: [v => !!v || 'Password is required'], passwordRules: [v => !!v || 'Password is required'],
passwordConfirm: '', passwordConfirm: ''
}), }),
computed: { computed: {
passwordConfirmRules() { passwordConfirmRules() {
return [ return [
() => this.password === this.passwordConfirm || "Passwords must match" () => this.password === this.passwordConfirm || 'Passwords must match'
] ]
}, }
}, },
methods: { methods: {