mirror of
				https://github.com/samply/bridgehead.git
				synced 2025-11-04 08:20:17 +01:00 
			
		
		
		
	refactor strange formatting
This commit is contained in:
		@@ -105,10 +105,10 @@ case "$ACTION" in
 | 
			
		||||
	addUser)
 | 
			
		||||
		loadVars
 | 
			
		||||
		log "INFO" "Adding encrypted credentials in /etc/bridgehead/$PROJECT.local.conf"
 | 
			
		||||
    read -p "Please choose the component (LDM_AUTH|NNGM_AUTH) you want to add a user to : " COMPONENT
 | 
			
		||||
    read -p "Please enter a username: " USER
 | 
			
		||||
    read -s -p "Please enter a password (will not be echoed): "$'\n' PASSWORD
 | 
			
		||||
    add_basic_auth_user $USER $PASSWORD $COMPONENT $PROJECT
 | 
			
		||||
    		read -p "Please choose the component (LDM_AUTH|NNGM_AUTH) you want to add a user to : " COMPONENT
 | 
			
		||||
    		read -p "Please enter a username: " USER
 | 
			
		||||
    		read -s -p "Please enter a password (will not be echoed): "$'\n' PASSWORD
 | 
			
		||||
    		add_basic_auth_user $USER $PASSWORD $COMPONENT $PROJECT
 | 
			
		||||
		;;
 | 
			
		||||
	enroll)
 | 
			
		||||
		loadVars
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user