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

Loading…
Cancel
Save