add secrets for username and password
This commit is contained in:
parent
a0c9e971ee
commit
b8e8f6c21b
@ -1,5 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
[ -n PLUGIN_USERNAME ] && PLUGIN_USERNAME="${SENDXMPP_USERNAME}"
|
||||||
|
[ -n PLUGIN_PASSWORD ] && PLUGIN_PASSWORD="${SENDXMPP_PASSWORD}"
|
||||||
|
|
||||||
: ${PLUGIN_USERNAME?"missing username"}
|
: ${PLUGIN_USERNAME?"missing username"}
|
||||||
: ${PLUGIN_JSERVER?"missing jserver"}
|
: ${PLUGIN_JSERVER?"missing jserver"}
|
||||||
: ${PLUGIN_PASSWORD?"missing password"}
|
: ${PLUGIN_PASSWORD?"missing password"}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user