Skip to content
Snippets Groups Projects
Commit bee23985 authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

replaced page title

parent 5943e059
No related branches found
No related tags found
2 merge requests!4Feat- Parse Shibboleth eduPersonAffiliationValues attribute,!3Feat certify account
Pipeline #5869 canceled with stage
...@@ -51,7 +51,7 @@ def create_app(config_name): ...@@ -51,7 +51,7 @@ def create_app(config_name):
session['return_url'] = request.args.get('redir', vars.default_referrer) session['return_url'] = request.args.get('redir', vars.default_referrer)
if (not any(item in session['user'].get('eppa') for item in valid_eppa)): 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": if rc_util.check_state(session['user'].get('username')) == "blocked":
return render_template('errors/blocked.html') return render_template('errors/blocked.html')
......
<html class="gr__rc_uab_edu"> <html class="gr__rc_uab_edu">
<title>User Blocked </title> <title>User Shibboleth error </title>
<head> <head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <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> <script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.7.3/socket.io.min.js"></script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment