diff options
-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') + + |