Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add password hints to reset #235

Merged
merged 2 commits into from Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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