fix "setting new password" invalid check

This commit is contained in:
negue
2023-04-15 20:54:08 +02:00
parent a79bec3fa5
commit 0a10eb32cc
@@ -138,7 +138,7 @@ export default {
return this.user.auth.local.has_password;
},
inputsInvalid () {
if (!this.passwordUpdates.password) {
if (this.hasPassword && !this.passwordUpdates.password) {
return true;
}