Univention Bugzilla – Bug 53310
Firefox autofills saved username into 'Description' field (regression from 4.4)
Last modified: 2021-06-02 17:53:36 CEST
When using Firefox, if the logged in user has saved his login data with the browser, then the saved username is autofilled into the 'Description' input field in the 'Users' module. This is a regression from 4.4
Created attachment 10736 [details] autofilled username
Firefox autofills the saved password in the first input with type="password" and the saved username in the inputfield before that. Which is why the username is filled into the 'Description' field. We can prevent the autofill by adding autocomplete="new-password" to the password input but then the input before the password input would still have a dropdown from firefox which input suggesstions. In this case it is the 'Description' field. A workaround is to add a hidden text input field before the password input (this hidden input would get the dropdown) which was accidentally the case in 4.4, but the hidden input field (which was not intended for a different use case) got removed with the design changes. Fixed in https://git.knut.univention.de/univention/ucs/-/tree/jkeiser/bug53310
Successful build Package: univention-web Version: 4.0.1-29A~5.0.0.202105261419 Branch: ucs_5.0-0 Scope: errata5.0-0
d8ced6b97c Bug #53310: yaml
Firefox: OK again Chrome: Still OK YAML: OK
<https://errata.software-univention.de/#/?erratum=5.0x3>