mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-09 09:46:55 +08:00
Add config to hide default passwords or force password change at first login #1355
This commit is contained in:
committed by
fit2cloud-chenyw
parent
c1d333e62d
commit
4ee923c968
@@ -16,6 +16,7 @@ class Token(SQLModel):
|
||||
access_token: str
|
||||
token_type: str = "bearer"
|
||||
platform_info: Optional[dict] = None
|
||||
need_change_pwd: Optional[bool] = None
|
||||
|
||||
class XOAuth2PasswordBearer(OAuth2PasswordBearer):
|
||||
async def __call__(self, request: Request) -> Optional[str]:
|
||||
|
||||
Reference in New Issue
Block a user