chore: Re-introduce CLI test (#7268)
This commit is contained in:
@@ -5,7 +5,7 @@ status_code=$(curl \
|
||||
-H "Content-Type: application/json"\
|
||||
-d '{"email":"'$1'", "password":"'$2'"}'\
|
||||
--write-out %{http_code}\
|
||||
http://localhost:9000/admin/auth)
|
||||
http://localhost:9000/auth/admin/emailpass)
|
||||
|
||||
if [[ "$status_code" -ne 200 ]] ; then
|
||||
echo "Site status changed to $status_code"
|
||||
|
||||
Reference in New Issue
Block a user