Created attachment 1767413 [details] The URL to change the password is not rendered properly Description of problem: When trying to log in to RHV VM Portal or Admin Portal with an expired password, the URL to change the password is not shown properly. Version-Release number of selected component (if applicable): How reproducible: Always. Steps to Reproduce: 1. Have a user `john_doe` with an expired password 2. Try to log in as `john_doe` Actual results: The following message is shown in red: ``` Unable to log in because the password has expired. <a href='/ovirt-engine/sso/credentials-change.html'>Change the password</a> to proceed. ``` Expected results: To have the HTML anchor tag rendered as a clickable URL Additional info:
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.
With patch applied, here is how the screen will look when a user with an expired password tries to login: https://ibb.co/z2zcGqp
Steps: 1) Create user with expired password 2) Try to login with the user 3) Check that user gets an error saying the password is expired and a link to change the password Results: Error message saying the password is expired is shown and a link to change the password is provided and working. Verified in: ovirt-engine-webadmin-portal-4.5.0.1-601.f26e9ea8cac5.3.el8ev.noarch ovirt-engine-4.5.0.1-601.f26e9ea8cac5.3.el8ev.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: RHV Manager (ovirt-engine) [ovirt-4.5.0] security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:4711