mirror of
				https://gitlab.crans.org/nounous/ghostream.git
				synced 2025-11-04 15:42:26 +01:00 
			
		
		
		
	Add python command to generate bcrypt for basic auth backend
This commit is contained in:
		@@ -18,6 +18,8 @@ auth:
 | 
			
		||||
  #backend: basic
 | 
			
		||||
 | 
			
		||||
  # Basic backend configuration
 | 
			
		||||
  # To generate bcrypt hashed password from Python, use:
 | 
			
		||||
  # python3 -c 'import bcrypt; print(bcrypt.hashpw(b"PASSWORD", bcrypt.gensalt(rounds=15)).decode("ascii"))'
 | 
			
		||||
  #
 | 
			
		||||
  #basic:
 | 
			
		||||
  #  credentials:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user