Delete session on log_out() even if telegram logout fails

This commit is contained in:
Tulir Asokan
2021-10-20 20:24:47 +03:00
parent 8865dab6b0
commit 4e8c373d1b
2 changed files with 3 additions and 4 deletions
@@ -465,7 +465,7 @@ class ProvisioningAPI(AuthAPI):
Optional[web.Response]]):
err = self.check_authorization(request)
if err is not None:
return err
return None, None, err
data = None
if want_data and (request.method == "POST" or request.method == "PUT"):