Bug 1944290

Summary: URL to change the password is not shown properly
Product: Red Hat Enterprise Virtualization Manager Reporter: Lucio Seki <lseki>
Component: ovirt-engineAssignee: Scott Dickerson <sdickers>
Status: CLOSED ERRATA QA Contact: Ivana Saranova <isaranov>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4.3CC: aandrade, ddacosta, emarcus, lleistne, sgratch, snikolov
Target Milestone: ovirt-4.5.0Keywords: ZStream
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.5.0 Doc Type: Bug Fix
Doc Text:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-26 16:22:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: UX RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
The URL to change the password is not rendered properly none

Description Lucio Seki 2021-03-29 17:17:16 UTC
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 1 RHEL 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.

Comment 6 Scott Dickerson 2021-12-03 00:38:55 UTC
With patch applied, here is how the screen will look when a user with an expired password tries to login: https://ibb.co/z2zcGqp

Comment 10 Ivana Saranova 2022-03-22 12:54:53 UTC
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

Comment 15 errata-xmlrpc 2022-05-26 16:22:27 UTC
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