edit unauthorized message
parent
73ff6fdaad
commit
a6c82a73b5
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue