From 6664b753df0cccca14b9228215b9809b58016b33 Mon Sep 17 00:00:00 2001 From: Abdurrahman Saber Date: Mon, 22 Sep 2025 11:35:24 +0300 Subject: [PATCH] [IMP] otp_sms_auth_custom: return partner id on login --- odex25_ensan/otp_sms_auth_custom/controllers/web_login.py | 1 + 1 file changed, 1 insertion(+) diff --git a/odex25_ensan/otp_sms_auth_custom/controllers/web_login.py b/odex25_ensan/otp_sms_auth_custom/controllers/web_login.py index 8d30798ec..84c10f6e6 100644 --- a/odex25_ensan/otp_sms_auth_custom/controllers/web_login.py +++ b/odex25_ensan/otp_sms_auth_custom/controllers/web_login.py @@ -48,6 +48,7 @@ class AuthSignInHome(Home): data = { 'status': True, 'url': '/web', + 'partner_id': user.partner_id.id, } else: # OTP validation failed