Automated deployment: Mon Jun 15 12:35:59 UTC 2020 75147a70715ce8fa962e0ae02a0cf0efa7cacba0

This commit is contained in:
frankie567
2020-06-15 12:35:59 +00:00
parent 28e06a844a
commit 6410b28d6b
10 changed files with 13 additions and 13 deletions

View File

@ -51,7 +51,7 @@ def on_after_forgot_password(user: UserDB, token: str, request: Request):
print(f"User {user.id} has forgot their password. Reset token: {token}")
jwt_authentication = JWTAuthentication(secret=SECRET, lifetime_seconds=3600)
jwt_authentication = JWTAuthentication(secret=SECRET, lifetime_seconds=3600, tokenUrl='/auth/jwt/login')
app = FastAPI()
fastapi_users = FastAPIUsers(