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