web/satellite: don't hardcode length limits in pwd strength component

This change modifies the password strength component to reference the
frontend config when displaying the minimum and maximum password
lengths. Previously, these values were written directly in the Vue
file.

Resolves storj/customer-issues#691

Change-Id: I75fd3b7acd4536d2adae25525c61df3127d9c0a1
This commit is contained in:
Jeremy Wharton 2023-04-17 10:19:54 -05:00
parent 3f543163c7
commit bebfb91b66

View File

@ -15,7 +15,7 @@
<div class="password-strength-container__rule-area__checkbox" :class="{ checked: isPasswordLengthAcceptable }"> <div class="password-strength-container__rule-area__checkbox" :class="{ checked: isPasswordLengthAcceptable }">
<VectorIcon /> <VectorIcon />
</div> </div>
<p class="password-strength-container__rule-area__rule">Between 6 and 128 Latin characters</p> <p class="password-strength-container__rule-area__rule">Between {{ passMinLength }} and {{ passMaxLength }} Latin characters</p>
</div> </div>
<p class="password-strength-container__subtitle">Its nice to have: </p> <p class="password-strength-container__subtitle">Its nice to have: </p>
<div class="password-strength-container__rule-area"> <div class="password-strength-container__rule-area">