stranck-dev #15

Merged
drew merged 2 commits from stranck-dev into drew-dev 2024-01-16 13:33:28 +00:00
1 changed files with 2 additions and 0 deletions

2
app.py
View File

@ -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.")