mirror of
				https://github.com/ets-labs/python-dependency-injector.git
				synced 2025-10-31 16:07:51 +03:00 
			
		
		
		
	Refactor passlib password hasing example
This commit is contained in:
		
							parent
							
								
									cf44e5815d
								
							
						
					
					
						commit
						c20202a23d
					
				|  | @ -23,7 +23,7 @@ class Container(containers.DeclarativeContainer): | |||
|     """Inversion of control container.""" | ||||
| 
 | ||||
|     password_hasher = providers.Callable( | ||||
|         passlib.hash.sha256_crypt.encrypt, | ||||
|         passlib.hash.sha256_crypt.hash, | ||||
|         salt_size=16, | ||||
|         rounds=10000) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user