add login
This commit is contained in:
1 parent
b27a7b528a
commit
c4efd6406d
22 files changed
+786
-17
No files matched your search
@@ -21,6 +21,12 @@ class Settings(BaseSettings):
|
||||
azure_blob_base_url: str = ""
|
||||
azure_blob_sas_token: str = ""
|
||||
|
||||
# 비어 있으면 구글 로그인이 꺼진다. 값은 비밀이 아니라 프론트 번들에도 들어간다
|
||||
google_client_id: str = ""
|
||||
# 자체 세션 토큰 서명 키. 바뀌면 로그인된 사람이 전부 풀린다
|
||||
jwt_secret: str = ""
|
||||
jwt_days: int = 14
|
||||
|
||||
@property
|
||||
def mysql_url(self) -> str:
|
||||
password = quote_plus(self.mysql_password)
|
||||
|
||||
Reference in new issue
Block a user