Issue 2551162
 
 
 
              
              
Created on 2021-09-16 22:16 by rouilj, last changed 2023-12-11 17:39 by rouilj. 
 |
 
   | msg7344 | Author: [hidden] (rouilj) | Date: 2021-09-16 22:16 |  |  
   | Following:
  https://github.com/tahiriabdo131/Show-and-Hide-password
add a show/hide password button to the login form. It should show up only if
javascript is enabled. The script should include a nonce so it will work with
a strict CSP policy.
Add to all bundled templates. Consider adding to the user.item.html form as well
to allow user to see their primary and secondary password entries. |  
   | msg7349 | Author: [hidden] (rouilj) | Date: 2021-10-09 19:12 |  |  
   | Ugh I missed that bootstrap 4 is required by the show/hide github repo.
However a cleanroom or other implementation is welcome. See also:
https://technology.blog.gov.uk/2021/04/19/simple-things-are-complicated-making-a-show-password-
option/
To note:
  * don’t allow users to submit text inputs containing passwords
so if the password is visible when the submit button is hit, change it
back to a password field.  Otherwise autocomplete can store the
password. This is bad as the password should only be in the password
manager. |  
   | msg7875 | Author: [hidden] (rouilj) | Date: 2023-12-11 17:39 |  |  
   | Also disable spellcheck on the password and text field otherwise the password may be sent to
a server for spellchecking.
https://www.htmhell.dev/adventcalendar/2023/8/#spellbound |  |
 
| Date | User | Action | Args |  | 2023-12-11 17:39:12 | rouilj | set | messages:
  + msg7875 |  | 2021-10-09 19:12:28 | rouilj | set | messages:
  + msg7349 |  | 2021-09-16 22:16:28 | rouilj | create |  | 
 |