Browse Source

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

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

4
journalmarks/journalmarks.py

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

Loading…
Cancel
Save