Description of problem: With the downstream theme enabled, Horizon does not display the logout reason on the login screen. How reproducible: Always. Steps to Reproduce: 1. Login into Horizon. 2. Change your password. 3. The login screen should show text "Password changed. Please log in again to continue." Actual results: The text is not visible anywhere on the login screen. Expected results: The text should be visible. Additional info: This is probably due to wrong nesting of IF blocks in the _login.html template: {% if request.user.is_authenticated and 'next' in request.GET %} <div class="control-group clearfix error"> <span class="help-inline"><p>{% trans "You don't have permissions to access:" %}</p> <p><b>{{ request.GET.next }}</b></p> <p>{% trans "Login as different user or go back to" %} <a href="{% url 'horizon:user_home' %}">{% trans "home page" %}</a></p> </span> </div> {% if request.COOKIES.logout_reason %} <div class="form-group clearfix error" id="logout_reason"> <span class="help-block alert alert-danger"><p>{{ request.COOKIES.logout_reason }}</p></span> </div> {% endif %} {% endif %} Note that one of the ENDIF statements should be moved to right before the second IF.
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 (Red Hat OpenStack Platform 16.1.9 bug fix and enhancement advisory), 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/RHBA-2022:8795