Skip to content

Commit

Permalink
S ◾ ✨ New Rule - Use eye toggle to see password (#9838)
Browse files Browse the repository at this point in the history
* Create rule.md

* Add files via upload

* Update rules-to-better-security.md

* Auto-fix Markdown files

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
jeoffreyfischer and github-actions[bot] authored Feb 4, 2025
1 parent 954507e commit 6c5caf3
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ index:
- migrate-an-existing-user-store-to-an-externalauthprovider
- modern-stateless-authentication
- securely-share-sensitive-information
- use-eye-toggle-to-see-password
---

Want to avoid embarrassing or expensive data breaches? Check [SSW's Security consulting page](https://www.ssw.com.au/consulting/security).
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions rules/use-eye-toggle-to-see-password/rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
type: rule
archivedreason:
title: Do you use an eye toggle to allow users to see their password when signing up
guid: 8e6d99af-1a0a-4375-9d7e-90ae30996010
uri: use-eye-toggle-to-see-password
created: 2025-02-04T14:38:33.0000000Z
authors:
- title: Jeoffrey Fischer
url: https://ssw.com.au/people/jeoffrey-fischer
- title: Vlad Kireyev
url: https://www.ssw.com.au/people/vlad-kireyev/
related:
- store-your-secrets-securely
- never-share-passwords
redirects: []

---

When users create a password during sign-up, they often make mistakes due to typos, especially on mobile devices. This can lead to frustration, failed login attempts, and the need to reset passwords, creating a poor user experience.

<!--endintro-->

Adding an eye toggle icon solves this problem by allowing users to verify their password before submission. This simple feature reduces errors, minimizes the likelihood of password resets, and enhances usability and accessibility without compromising security.

::: bad
![Figure: Bad example - Sign-up form without an eye toggle](bad-example-no-eye-toggle.png)
:::

::: good
![Figure: Good example - Sign-up form with an eye toggle](good-example-eye-toggle.pg)
:::

0 comments on commit 6c5caf3

Please sign in to comment.