Monitor websites uptime using Cloudflare Workers
Something went wrong. Try again.
12345678910111213#!/usr/bin/env bashset -euo pipefailroot="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/../.." && pwd)"[[ "$($root/scripts/reset-admin.sh --help)" == *"Usage:"* ]]tmp="$(mktemp)"; trap 'rm -f "$tmp"' EXITcat >"$tmp" <<'EOF'DATABASE_URL=postgresql://unusedADMIN_EMAIL=admin@example.comADMIN_PASSWORD_HASH='not-a-hash'EOFif "$root/scripts/reset-admin.sh" --env-file "$tmp" --check >/dev/null 2>&1; then echo "malformed hash unexpectedly accepted" >&2; exit 1; fiecho "reset-admin shell tests passed"