1
0
Fork 0
mirror of https://github.com/Lynnesbian/FediBooks/ synced 2024-12-30 16:18:57 +00:00

/do/signout

This commit is contained in:
Lynne Megido 2019-09-01 17:19:17 +10:00
parent 8cda8b371c
commit f2f9dc5cff

View file

@ -88,3 +88,8 @@ def do_signup():
# success! # success!
session['userid'] = user_id session['userid'] = user_id
return redirect(url_for('home')) return redirect(url_for('home'))
@app.route("/do/signout")
def do_signout():
session.clear()
return redirect(url_for("home"))