rohitnandi12 commented on code in PR #41813:
URL: https://github.com/apache/airflow/pull/41813#discussion_r1734033403


##########
airflow/www/templates/airflow/no_roles_permissions.html:
##########
@@ -30,7 +30,11 @@ <h1>Your user has no roles and/or permissions!</h1>
     <p>Unfortunately your user has no roles, and therefore you cannot use 
Airflow.</p>
     <p>Please contact your Airflow administrator
       (<a 
href="https://airflow.apache.org/docs/apache-airflow/stable/security/webserver.html#web-authentication";>authentication</a>
-      may be misconfigured) or <a href="{{ logout_url }}">log out</a> to try 
again.</p>
+      may be misconfigured) or 
+      <form method="POST" action="{{logout_url}}" id="logout-form">
+        <input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
+        <a href="javascript:{}" 
onclick="document.getElementById('logout-form').submit();">log out</a> to try 
again.
+      </form>

Review Comment:
   There is a missing `</p>` closing tag which opens at line 31 `<p>`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to