edit unauthorized message

master
Bryan 2020-12-20 12:37:27 -06:00
parent 73ff6fdaad
commit a6c82a73b5
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ fi
# Check password # Check password
read apiKey <"${PASSWD_FILE}" read apiKey <"${PASSWD_FILE}"
if [ "${param[apiKey]}" != "${apiKey}" ]; then if [ "${param[apiKey]}" != "${apiKey}" ]; then
echo '{"message": "Invalidcredentials"}' echo '{"message": "Not Authorized!"}'
rm "$LOCKFILE" rm "$LOCKFILE"
exit 1 exit 1
fi fi