You've already forked AstralRinth
forked from didirus/AstralRinth
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:
@@ -119,8 +119,8 @@
|
|||||||
type="button"
|
type="button"
|
||||||
class="iconified-button brand-button"
|
class="iconified-button brand-button"
|
||||||
:disabled="
|
:disabled="
|
||||||
newPassword.length === 0 ||
|
newPassword.length == 0 ||
|
||||||
oldPassword.length === 0 ||
|
(auth.user.has_password && oldPassword.length == 0) ||
|
||||||
newPassword !== confirmNewPassword
|
newPassword !== confirmNewPassword
|
||||||
"
|
"
|
||||||
@click="savePassword"
|
@click="savePassword"
|
||||||
|
|||||||
Reference in New Issue
Block a user