You've already forked AstralRinth
forked from didirus/AstralRinth
Fixed Password matching msg showing when confirm is empty (#1400)
* Fixed Password matching msg showing when confirm is empty * ran lint and == → ===
This commit is contained in:
@@ -44,7 +44,10 @@
|
|||||||
} password`"
|
} password`"
|
||||||
>
|
>
|
||||||
<div class="universal-modal">
|
<div class="universal-modal">
|
||||||
<ul v-if="newPassword !== confirmNewPassword" class="known-errors">
|
<ul
|
||||||
|
v-if="newPassword !== confirmNewPassword && confirmNewPassword.length > 0"
|
||||||
|
class="known-errors"
|
||||||
|
>
|
||||||
<li>Input passwords do not match!</li>
|
<li>Input passwords do not match!</li>
|
||||||
</ul>
|
</ul>
|
||||||
<label v-if="removePasswordMode" for="old-password">
|
<label v-if="removePasswordMode" for="old-password">
|
||||||
@@ -116,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 ||
|
oldPassword.length === 0 ||
|
||||||
newPassword !== confirmNewPassword
|
newPassword !== confirmNewPassword
|
||||||
"
|
"
|
||||||
@click="savePassword"
|
@click="savePassword"
|
||||||
|
|||||||
Reference in New Issue
Block a user