1
0
Fork 0
mirror of https://github.com/Lynnesbian/FediBooks/ synced 2024-12-28 07:18:59 +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!
session['userid'] = user_id
return redirect(url_for('home'))
@app.route("/do/signout")
def do_signout():
session.clear()
return redirect(url_for("home"))