Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xpersonas/simple_password_reveal
Drupal 8 module that alters password fields on user login and user edit forms to show plain text by default, while also adding a checkbox for concealing the password as needed.
https://github.com/xpersonas/simple_password_reveal
d8 drupal drupal8
Last synced: 13 days ago
JSON representation
Drupal 8 module that alters password fields on user login and user edit forms to show plain text by default, while also adding a checkbox for concealing the password as needed.
- Host: GitHub
- URL: https://github.com/xpersonas/simple_password_reveal
- Owner: xpersonas
- Created: 2020-07-29T13:12:43.000Z (over 4 years ago)
- Default Branch: 8.x-1.x
- Last Pushed: 2020-08-25T18:31:08.000Z (about 4 years ago)
- Last Synced: 2024-10-12T02:20:57.900Z (about 1 month ago)
- Topics: d8, drupal, drupal8
- Language: PHP
- Homepage: https://www.drupal.org/project/simple_password_reveal
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Password Reveal #
This module alters password fields on user login and user edit forms to show plain text by default, while also adding a checkbox for concealing the password as needed.
## Installation ##
Module page: https://www.drupal.org/project/simple_password_reveal
```
composer require drupal/simple_password_reveal
```## Background ##
Rather than creating friction for a user to show a password each time by clicking a check box, the password is revealed by default. In my experience, I generally prefer password fields to be plain text almost all the time. It's only when in public or during a presentation that I want to conceal passwords.
There is another module that provides similar functionality. However, Simple Password Reveal takes a different approach than the Password Toggle module. They use javascript to add a checkbox to each password field in any and all forms. They also have a Drupal 7 version.
This module attempts to keep things simple by concentrating solely on the user login and user edit pages. If you need this feature on custom forms, on forms loaded by ajax, or for a Drupal 7 site then this module may not be for you.
Simple Password Reveal also uses form alters to add one checkbox per form, rather than one checkbox per input. So, for example, when you are on the user edit page you have three password fields — current password, new password, and confirm password. Rather than having a checkbox for each password field, this module only has one.