mirror of
https://github.com/lorsanstand/Aether.git
synced 2026-06-19 12:05:16 +03:00
Edit message listener
This commit is contained in:
@@ -32,8 +32,6 @@ class OAuth2PasswordBearerWithCookie(OAuth2):
|
||||
raise HTTPException(status_code=status.HTTP_400_BAD_REQUEST, detail="No connection found")
|
||||
|
||||
authorization: str = connection.cookies.get("access_token")
|
||||
print(authorization)
|
||||
|
||||
scheme, param = get_authorization_scheme_param(authorization)
|
||||
if not authorization or scheme.lower() != "bearer":
|
||||
if self.auto_error:
|
||||
|
||||
Reference in New Issue
Block a user