mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-08-21 00:54:49 +08:00
Automated deployment: Mon Jun 15 12:35:59 UTC 2020 75147a70715ce8fa962e0ae02a0cf0efa7cacba0
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user