refactor(jigasi): no need to check the hardcoded password
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
315f824c83
commit
7e42f9ddd5
@@ -7,12 +7,6 @@ if [[ -z $JIGASI_XMPP_PASSWORD ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
OLD_JIGASI_XMPP_PASSWORD=passw0rd
|
||||
if [[ "$JIGASI_XMPP_PASSWORD" == "$OLD_JIGASI_XMPP_PASSWORD" ]]; then
|
||||
echo 'FATAL ERROR: Jigasi auth password must be changed, check the README'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
[ -z "$JIGASI_MODE" ] && JIGASI_MODE="sip"
|
||||
JIGASI_MODE="$(echo $JIGASI_MODE | tr '[:upper:]' '[:lower:]')"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user