Fix: "Set Password" button on profile page is not active (#1486)
* Fix disabled button for "Add password" * Fix lint error --------- Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
This commit is contained in:
parent
d19dbbfe7e
commit
e754f6c234
@ -119,8 +119,8 @@
|
||||
type="button"
|
||||
class="iconified-button brand-button"
|
||||
:disabled="
|
||||
newPassword.length === 0 ||
|
||||
oldPassword.length === 0 ||
|
||||
newPassword.length == 0 ||
|
||||
(auth.user.has_password && oldPassword.length == 0) ||
|
||||
newPassword !== confirmNewPassword
|
||||
"
|
||||
@click="savePassword"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user