mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-12-28 23:38:57 +00:00
/do/signout
This commit is contained in:
parent
8cda8b371c
commit
f2f9dc5cff
1 changed files with 5 additions and 0 deletions
5
webui.py
5
webui.py
|
@ -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"))
|
||||||
|
|
Loading…
Reference in a new issue