Fix secure user definition

This commit is contained in:
Luis Guzmán 2020-12-11 17:57:26 -06:00
parent 0e8065b036
commit a43fe104d0
1 changed files with 3 additions and 1 deletions

View File

@ -501,7 +501,7 @@ done
# read -p "Secure room moderator password: "$'\n' -r SEC_ROOM_PASS # read -p "Secure room moderator password: "$'\n' -r SEC_ROOM_PASS
#fi #fi
#done #done
echo -e "\n> Jitsi Meet Auth Method selection.\n"
PS3='Select the authentication method for your Jitsi Meet instance: ' PS3='Select the authentication method for your Jitsi Meet instance: '
options=("Local" "JWT" "None") options=("Local" "JWT" "None")
select opt in "${options[@]}" select opt in "${options[@]}"
@ -510,6 +510,8 @@ do
"Local") "Local")
echo -e "\n > Users are created manually using prosodyctl, only moderators can open a room or launch recording." echo -e "\n > Users are created manually using prosodyctl, only moderators can open a room or launch recording."
ENABLE_SC="yes" ENABLE_SC="yes"
read -p "Set username for secure room moderator: "$'\n' -r SEC_ROOM_USER
read -p "Secure room moderator password: "$'\n' -r SEC_ROOM_PASS
break break
;; ;;
"JWT") "JWT")