Skip to content

Commit

Permalink
Merge pull request #556 from enkryptcom/fix/confusing-security-warning
Browse files Browse the repository at this point in the history
fix: remove tooltip when pasword is very strong
  • Loading branch information
gamalielhere authored Nov 20, 2024
2 parents 36e01d0 + a00530a commit abf56be
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</p>

<a
v-if="value.length > 0"
v-if="value.length > 0 && strength != PasswordStrength.veryStrong"
class="password-input-strength__help visible"
@mouseenter="toggleTooltip"
@mouseleave="toggleTooltip"
Expand All @@ -68,13 +68,7 @@
<h4 v-if="strength == PasswordStrength.medium" class="medium">
{{ toolTipInfo }}
</h4>
<h4
v-if="
strength == PasswordStrength.strong ||
strength == PasswordStrength.veryStrong
"
class="strong"
>
<h4 v-if="strength == PasswordStrength.strong" class="strong">
{{ toolTipInfo }}
</h4>
</div>
Expand Down

0 comments on commit abf56be

Please sign in to comment.