From 68518a06462b93c62d3dff2a859377471b2fdcba Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 26 Jul 2025 23:39:47 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Auto-verify=20admin=20email=20du?= =?UTF-8?q?ring=20deployment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add verify_email command to Railway startup - Ensures admin@quantumtaskai.com is always verified - Uses --force flag to override any existing verification status - Prevents admin login issues due to unverified email 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- railway.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railway.json b/railway.json index d48c583..11224bb 100644 --- a/railway.json +++ b/railway.json @@ -4,7 +4,7 @@ "builder": "NIXPACKS" }, "deploy": { - "startCommand": "python manage.py migrate --run-syncdb; python manage.py populate_agents; python manage.py reset_admin; python manage.py collectstatic --noinput && gunicorn netcop_hub.wsgi:application --bind 0.0.0.0:$PORT --workers 1 --timeout 60", + "startCommand": "python manage.py migrate --run-syncdb; python manage.py populate_agents; python manage.py reset_admin; python manage.py verify_email admin@quantumtaskai.com --force || true; python manage.py collectstatic --noinput && gunicorn netcop_hub.wsgi:application --bind 0.0.0.0:$PORT --workers 1 --timeout 60", "restartPolicyType": "ON_FAILURE", "restartPolicyMaxRetries": 3 }