feat: jwt utils

This commit is contained in:
Timothy J. Baek committed 2024-02-19 20:44:00 -08:00
1 parent f824bcc86e
commit 275523e32e
7 files changed
+273 -7

No files matched your search

+2
View File
@@ -26,6 +26,8 @@ app = FastAPI()
origins = ["*"]
app.state.ENABLE_SIGNUP = ENABLE_SIGNUP
app.state.JWT_EXPIRES_IN = "-1"
app.state.DEFAULT_MODELS = DEFAULT_MODELS
app.state.DEFAULT_PROMPT_SUGGESTIONS = DEFAULT_PROMPT_SUGGESTIONS
app.state.DEFAULT_USER_ROLE = DEFAULT_USER_ROLE