← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1838003] Re: Horizon hides password requirements

 

Reviewed:  https://review.opendev.org/672927
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=8f5a3cd7dad96a0a764e0b7bd295fca8878a5166
Submitter: Zuul
Branch:    master

commit 8f5a3cd7dad96a0a764e0b7bd295fca8878a5166
Author: Radomir Dopieralski <openstack@xxxxxxxxxxxx>
Date:   Fri Jul 26 11:22:41 2019 +0200

    Display password_regex_description when password change fails
    
    When keystone has password_regex set and the new password doesn't match
    it, the attempt to change the password will fail, and keystone will
    helpfully include password_regex_description in its error message.
    Unfortunately Horizon discards that and displays "Unable to update the
    user password.", which is considerably less helpful.
    
    This change extracts the description from the error message in this
    case, and displays it to the user together with a translated error
    message. Unfortunately we have no way of also translating the
    description.
    
    Closes-bug: #1838003
    Change-Id: I535c020deed76188c0f7150072fbdced9c5454fc


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1838003

Title:
  Horizon hides password requirements

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  When keystone has password_regex configured, and a new password
  doesn't match it, it will include password_regex_description in the
  error message, so that the users have a chance at coming up with a
  password that matches the requirements. Unfortunately Horizon hides
  that message and displays a completely unhelpful "Unable to update the
  user password." instead.

  Ideally we would like to display password_regex_description right in
  the password change form, in its description, but there is currently
  no API in keystone that would let us retrieve it. So instead it would
  be nice to at least display the description from the error message.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1838003/+subscriptions


References