Keystone auth needs a way to propogate some error message based on some kind of configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
django-openstack-auth |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
We are using a password policy in ldap that locks accounts if they try authenticating with a wrong password more than certain number of times.
When an account is locked, the Horizon UI shows Invalid username/password.
Following is the change i made to get what I wanted, but we need something more generic and configurable (example easily allow user to know his password has expired, based on the response coming from the keystone client)
vim "/usr/lib/
94 except (keystone_
95 keystone_
96 keystone_
97 msg = _('Invalid user name or password.')
98 if exc.message == "Error, Account is locked":
99 msg = "Error, Account is locked contact the administrator"
affects: | keystone → horizon |
tags: | added: error-reporting keystone |
affects: | horizon → django-openstack-auth |
Changed in django-openstack-auth: | |
status: | New → Confirmed |
The difficulty is that propagated messages are usually not localized.