Bug #16296
closedUpdating informations by submitting empty fields invalidates user's loggin
Description
When I try to update informations by submitting empty field(s) in input boxes, invalidate informations : It replace and update in file the empty field by the correspondig field from admin informations
Exemple :
Initial state
Username : admin
Password : passadmin
roles : administrator
Username : toto
Password : 123badpasswd
roles : inventory
-> update user "toto" : change username "toto" to "titi" and keep password empty
Final state :
Username : admin
Password : passadmin
roles : administrator
Username : titi
Password : passadmin <------- ERROR
roles : inventory
Updated by Elaad FURREEDAN almost 5 years ago
- Status changed from New to In progress
- Assignee set to Elaad FURREEDAN
Updated by Vincent MEMBRÉ almost 5 years ago
- Target version changed from 6.0-1.4 to 6.0-1.5
Updated by Elaad FURREEDAN almost 5 years ago
- Target version changed from 6.0-1.5 to 6.0-1.6
Updated by Elaad FURREEDAN almost 5 years ago
The bug comes when we save authentification informations, in Firefox in my case. When we add an user, the two inputs fields was autofilled with Firefox's autocompletion for logins. The user will overwrites the autocompleted fields and will be created successfully. But when he try to update his username or password in the right menu, if he leaves an empty field, the autocompletion overwrite it, so the user will have an username or password swaped (according on which input he left empty) with the saved loggin in Firefox on this URL.
Updated by Elaad FURREEDAN almost 5 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Elaad FURREEDAN to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder-plugins/pull/224
Updated by Anonymous almost 5 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder:rudder-plugins|b3ef238f969dc25f667cdcd4ff35b2f59d2a3234.
Updated by Vincent MEMBRÉ almost 5 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.0-1.6 which was released today.