Merge pull request 'stranck-dev' (#15) from stranck-dev into drew-dev
Reviewed-on: #15
This commit is contained in:
commit
3878076e0f
2
app.py
2
app.py
|
@ -183,6 +183,8 @@ async def logour(request):
|
||||||
r.cookies['foxo_secret'] = orgSecret
|
r.cookies['foxo_secret'] = orgSecret
|
||||||
r.delete_cookie("foxo_code_ORG")
|
r.delete_cookie("foxo_code_ORG")
|
||||||
r.delete_cookie("foxo_secret_ORG")
|
r.delete_cookie("foxo_secret_ORG")
|
||||||
|
del r.cookies['foxo_code_ORG']
|
||||||
|
del r.cookies['foxo_secret_ORG']
|
||||||
return r
|
return r
|
||||||
|
|
||||||
raise exceptions.Forbidden("You have been logged out.")
|
raise exceptions.Forbidden("You have been logged out.")
|
||||||
|
|
Loading…
Reference in New Issue