Skip to content

Commit

Permalink
Merge pull request #235 from Police-Data-Accessibility-Project/fix/ad…
Browse files Browse the repository at this point in the history
…d-password-hints-to-reset

fix: add password hints to reset
  • Loading branch information
mbodeantor committed Mar 25, 2024
2 parents 1b43305 + 2352399 commit 34d0ecd
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
8 changes: 8 additions & 0 deletions client/src/pages/ResetPassword.vue
Expand Up @@ -48,6 +48,14 @@
@change="handleChangeOnError"
@submit="onSubmitChangePassword"
>
<ul class="text-med mb-8">
Passwords must be at least 8 characters and include:
<li>1 uppercase letter</li>
<li>1 lowercase letter</li>
<li>1 number</li>
<li>1 special character</li>
</ul>

<Button class="max-w-full" type="submit">
{{ loading ? 'Loading...' : 'Change password' }}
</Button>
Expand Down
Expand Up @@ -41,6 +41,11 @@ exports[`Reset password page > With token (reset password) > With token, reset p
<!---->
<label class="pdap-input-label" for="confirmPassword">Confirm Password</label>
</div>
<ul class="text-med mb-8"> Passwords must be at least 8 characters and include: <li>1 uppercase letter</li>
<li>1 lowercase letter</li>
<li>1 number</li>
<li>1 special character</li>
</ul>
<button class="pdap-button pdap-button-primary max-w-full" type="submit">Change password</button>
</form>
</main>
Expand Down Expand Up @@ -71,6 +76,11 @@ exports[`Reset password page > With token (reset password) > With token, reset p
<!---->
<label class="pdap-input-label" for="confirmPassword">Confirm Password</label>
</div>
<ul class="text-med mb-8"> Passwords must be at least 8 characters and include: <li>1 uppercase letter</li>
<li>1 lowercase letter</li>
<li>1 number</li>
<li>1 special character</li>
</ul>
<button class="pdap-button pdap-button-primary max-w-full" type="submit">Change password</button>
</form>
</main>
Expand Down

0 comments on commit 34d0ecd

Please sign in to comment.