Browse Source

don't require login for logout page to avoid bogus next page redirect

master
Fr3deric 7 years ago
parent
commit
8e4d253391
  1. 2
      journalmarks/journalmarks.py

2
journalmarks/journalmarks.py

@ -130,8 +130,8 @@ def login():
@journalmarks.route('/logout') @journalmarks.route('/logout')
@login_required
def logout(): def logout():
if 'username' in session:
del session['username'] del session['username']
return render_template('logout.html') return render_template('logout.html')

Loading…
Cancel
Save