Skip to content

Commit

Permalink
fix: wrong email value
Browse files Browse the repository at this point in the history
  • Loading branch information
GareArc committed Dec 26, 2024
1 parent b5b989b commit 3c2d401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/controllers/console/auth/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down

0 comments on commit 3c2d401

Please sign in to comment.