refactor(jigasi): no need to check the hardcoded password

This commit is contained in:
emrah
2026-02-12 17:28:07 +03:00
committed by Saúl Ibarra Corretgé
parent 315f824c83
commit 7e42f9ddd5

View File

@@ -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:]')"