mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-16 10:13:26 +02:00
17 lines
202 B
Bash
17 lines
202 B
Bash
#!/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
|