Redirect to login page when CSRF error occurs

This commit is contained in:
Patrick Smith
2018-10-16 17:23:09 -04:00
parent e7b437dc56
commit c7d5015942
3 changed files with 27 additions and 1 deletions

View File

@@ -11,6 +11,12 @@
<div class='col'>
<div class='login-banner'>
{% if request.args.get("sessionExpired") %}
{{ Alert('Session Expired',
message='Your session expired due to inactivity. Please log in again to continue.',
level='error'
) }}
{% endif %}
<h1 class="login-banner__heading">Access the JEDI Cloud</h1>
<img class="login-banner__logo" src="{{url_for('static', filename='img/ccpo-logo.svg')}}" alt="Cloud Computing Program Office Logo">