From 3c2d401ce9d40b7b85ad64bdb56e71f8a6ddd943 Mon Sep 17 00:00:00 2001 From: GareArc Date: Thu, 26 Dec 2024 01:54:58 -0500 Subject: [PATCH] fix: wrong email value --- api/controllers/console/auth/login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/controllers/console/auth/login.py b/api/controllers/console/auth/login.py index 262734e9b2925e..dd1f659460adb7 100644 --- a/api/controllers/console/auth/login.py +++ b/api/controllers/console/auth/login.py @@ -48,7 +48,7 @@ def post(self): parser.add_argument("language", type=str, required=False, default="en-US", location="json") args = parser.parse_args() - if dify_config.BILLING_ENABLED and BillingService.is_email_in_freeze(email): + if dify_config.BILLING_ENABLED and BillingService.is_email_in_freeze(args["email"]): raise AccountOnRegisterError( description="Unable to re-register the account because the deletion occurred less than 30 days ago" )