From aa03d6959e74b46a916831fdaa23e58d19a97ea9 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 28 Jul 2025 16:42:35 +0800 Subject: [PATCH] bugfix --- wwwroot/user/register.dspy | 1 + 1 file changed, 1 insertion(+) diff --git a/wwwroot/user/register.dspy b/wwwroot/user/register.dspy index 5dac922..f46e6f4 100644 --- a/wwwroot/user/register.dspy +++ b/wwwroot/user/register.dspy @@ -5,6 +5,7 @@ async with db.sqlorContext(dbname) as sor: orgid = await register_user(sor, params_kw) if get_owner_orgid and openCustomerAccounts: ownerid = await get_owner_orgid(sor, orgid) + openCustomerAccounts = globals().get('openCustomerAccounts') if openCustomerAccounts: await openCustomerAccounts(sor, ownerid, orgid) return UiMessage(title="Success", message="register success")