forked from orbit-oss/flask
Minor docs fix.
This commit is contained in:
parent
989aabbe32
commit
acb61ae57b
1 changed files with 1 additions and 1 deletions
|
|
@ -744,7 +744,7 @@ sessions work::
|
|||
|
||||
@app.route('/logout')
|
||||
def logout():
|
||||
# remove the username from the session if its there
|
||||
# remove the username from the session if it's there
|
||||
session.pop('username', None)
|
||||
return redirect(url_for('index'))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue