Univention Bugzilla – Bug 47646
Reset password module - add password visibility toggle
Last modified: 2020-02-20 15:23:33 CET
This is based on customer feedback: Currently, if a teacher/school-admin uses the "Passwords (students/teachers)" module, the password is shown in clear text and readable for everyone looking at the screen. Suggested improvement: Mask the entered password (********), but also add an option to toggle between visible and masked. Android/iOS-Frameworks usually use an eye icon for this.
We discussed that it would be best to use the existing password widget and modify that widget to include a visibility toggle. Something similar is requested for ucs as well: bug 46888 and bug 45930
Reported by a Teacher of an Enterprise Customer. This is a daily problem for Admins, when passwords of Students (or Teachers) need to be changed. This problem enlarges every year, when new classes begin their courses with new accounts and need to set their user account password through this module once. A three-line patch has been attached.
Created attachment 9851 [details] Patch/Change from TextBox to PasswordInputBox
(In reply to Hendrik Peter from comment #2) > A three-line patch has been attached. JFYI: the patch permanently changes the text input into a password input I would prefer bug 48666 as a permanent solution (together with your 3 lines :-).
UCS: 77d90b590a Bug #47646: YAML 2e5439006c Bug #47646: Merge branch 'jkeiser/4.4-0/passwordbox' into 4.4-0 51cb410d10 Bug #47646: YAML 83d6638115 Bug #47646: debian changelog 6178c56620 Bug #47646: add toggle button for cleartext to PasswordBox Successful build Package: univention-web Version: 3.0.5-7A~4.4.0.201903211707 UCS@school: 5a689def4 Bug #47646: YAML e413d9bc9 Bug #47646: YAML d380bc41e Bug #47646: use PasswordBox with reveal toggle for Passwords module 6806af903 Bug #47646: use reset as defaultAction + cleanup 1519e66ad Bug #47646: change reset password field to type password Successful build Package: ucs-school-umc-users Version: 15.0.0-2A~4.4.0.201903211724
This bug was cloned to extract the UCS part of the changes. This bug now only verifies the changes made in UCS@school. Bug #49099 has to be released in UCS before these changes can be introduced to UCS@school Changelog&Advisory: OK Package installs: OK Password visibility toggle works: OK
UCS@school 4.4 v2 has been released. https://docs.software-univention.de/changelog-ucsschool-4.4v2-de.html If this error occurs again, please clone this bug.