Fix error on changing user password by admin
Previous change I8438bedaf7cead452fc499e484d23690b48894d9 attempted to address bug LP#1728031 by improving upon patch https://review.opendev.org/854005 but missed the line that allows the keystone client to properly authenticate a cloud admin user that IS NOT in the default domain. Without this 1-line fix, a cloud admin that is not in the default domain will face an "incorrect admin password" error in the UI (despite the admin password being correct) and an authentication error in the logs, regardless of the endpoint type used (adminURL, internalURL or publicURL). Closes-bug: #1728031 Change-Id: I018e7d9cb84fd6ce8635c9054e15052ded7e9368 (cherry picked from commitda8e959298
) (cherry picked from commite9bf695641
) (cherry picked from commit7244c3142c
)
This commit is contained in:
parent
8e62433283
commit
5de40f9b22
|
@ -471,6 +471,7 @@ def user_verify_admin_password(request, admin_password):
|
|||
username=request.user.username,
|
||||
password=admin_password,
|
||||
insecure=insecure,
|
||||
user_domain_name=request.user.user_domain_name,
|
||||
cacert=cacert,
|
||||
auth_url=endpoint
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue