Merge pull request #391 from dod-ccpo/csrf-error

Redirect to login page when CSRF error occurs
This commit is contained in:
patricksmithdds
2018-10-17 10:12:01 -04:00
committed by GitHub
3 changed files with 35 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">