diff options
author | rsiddharth <s@ricketyspace.net> | 2019-09-13 22:14:17 -0400 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2019-09-13 22:14:17 -0400 |
commit | 961af44392dde72133a228133ad483cbbc0386a0 (patch) | |
tree | d6754e1dfc99fad77a4cb724b75f81143abf600d | |
parent | 32a70fea785f2f53132b369f99075b6fa2e99bbd (diff) |
nfsw/auth.py: Add 'sorry' route.
-rw-r--r-- | nfsw/auth.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nfsw/auth.py b/nfsw/auth.py index 805d93c..08a2a26 100644 --- a/nfsw/auth.py +++ b/nfsw/auth.py @@ -150,3 +150,11 @@ def terms(): return render_template('terms.html') +@bp.route('/sorry') +@login_required +@not_agreed +def sorry(): + session.clear() + return render_template('sorry.html') + + |