mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-27 23:53:18 +02:00
17 lines
202 B
Plaintext
17 lines
202 B
Plaintext
![]() |
#!/bin/bash -e
|
||
|
|
||
|
if [[ "${SFTPGO_AUTHD_USERNAME:=}" != "anonymous" ]]; then
|
||
|
cat <<_EOF
|
||
|
{
|
||
|
"status": 2,
|
||
|
"to_verify": "${SFTPGO_AUTHD_PASSWORD:=}"
|
||
|
}
|
||
|
_EOF
|
||
|
else
|
||
|
cat <<_EOF
|
||
|
{
|
||
|
"status": 1
|
||
|
}
|
||
|
_EOF
|
||
|
fi
|