mirror of
				https://github.com/fastapi-users/fastapi-users.git
				synced 2025-10-31 17:38:30 +08:00 
			
		
		
		
	Fix #701: factorize JWT handling and support secrets as SecretStr
This commit is contained in:
		| @ -10,9 +10,6 @@ from fastapi_users.router import ErrorCode, get_register_router | ||||
| from fastapi_users.user import get_create_user | ||||
| from tests.conftest import User, UserCreate, UserDB | ||||
|  | ||||
| SECRET = "SECRET" | ||||
| LIFETIME = 3600 | ||||
|  | ||||
|  | ||||
| def after_register_sync(): | ||||
|     return MagicMock(return_value=None) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 François Voron
					François Voron