Previously, when trying to log in to Red Hat Virtualization VM Portal or Administration Portal with an expired password, the URL to change the password was not shown properly.
In this release, when there is an expired password error, the following clickable link appears beneath the error message: "Click here to change the password". This link will redirect the user to the change password page.
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:
Comment 1RHEL Program Management
2021-03-30 01:56:28 UTC
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.
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
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: