Bug 4988

Summary: password field in change password form should not display
Product: Koha Reporter: Irma Birchall <irma>
Component: PatronsAssignee: Kyle M Hall <kyle.m.hall>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, katrin.fischer
Version: 3.6   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Irma Birchall 2010-07-13 04:51:59 UTC
Patrons do not wish their new password visible to bystanders. Type of HTML input field should be password, not text. However this interacts with the "suggested password" feature so either this would be deprecated, or provided in some other way.
Comment 1 Owen Leonard 2010-08-25 15:11:27 UTC
Does this refer to the "change password" feature in the staff client? The assumption is that the staff client screen is private. Besides breaking the suggested password feature, you would also have to add a "re-type password" field to ensure accurate typing.

If you want this enhancement now, it can be done by adding code to the intranetuserjs system preference:

$(document).ready(function(){
$("#newpassword").parent().append("<input type=\"password\" value=\"\" size=\"20\" id=\"newpassword\" name=\"newpassword\">").end().remove();
});
Comment 2 Katrin Fischer 2012-08-23 06:21:05 UTC
Passwords are no longer visible and have to be retyped a second time when setting or resetting them.