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
read apiKey <"${PASSWD_FILE}"
if [ "${param[apiKey]}" != "${apiKey}" ]; then
echo '{"message": "Invalidcredentials"}'
echo '{"message": "Not Authorized!"}'
rm "$LOCKFILE"
exit 1
fi