diff --git a/app/__init__.py b/app/__init__.py index 639dc5ba47e95be42e489da912e968a1db33fd53..890e8ef45aac7fb99812a1f33dcff51a223183c0 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -51,7 +51,7 @@ def create_app(config_name): session['return_url'] = request.args.get('redir', vars.default_referrer) if (not any(item in session['user'].get('eppa') for item in valid_eppa)): - return render_template('errors/shibboleth.html', title='shibboleth error') + return render_template('errors/shibboleth.html') if rc_util.check_state(session['user'].get('username')) == "blocked": return render_template('errors/blocked.html') diff --git a/app/templates/errors/shibboleth.html b/app/templates/errors/shibboleth.html index df972e1aeaf49f9b73960a4ba0ebcf68df5b1a37..fffdd9dd043bb24a536a615384f307d8b296a94c 100644 --- a/app/templates/errors/shibboleth.html +++ b/app/templates/errors/shibboleth.html @@ -1,5 +1,5 @@ <html class="gr__rc_uab_edu"> -<title>User Blocked </title> +<title>User Shibboleth error </title> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.7.3/socket.io.min.js"></script>