mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-29 13:32:08 +00:00
logout success bugfix
This commit is contained in:
@@ -92,7 +92,7 @@ def logout(
|
||||
return
|
||||
|
||||
r = Hub.delete_session(auth_header, token)
|
||||
if r and r.status_code != 200:
|
||||
if not r or r.status_code != 200:
|
||||
success = False
|
||||
User.clear()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user