From eb4c90b3f0874416b3bd69e2cae98d98668af5c6 Mon Sep 17 00:00:00 2001 From: maliming Date: Thu, 2 Oct 2025 15:30:18 +0800 Subject: [PATCH] Increase MaxDeviceInfoLength to 256 Updated the MaxDeviceInfoLength constant from 64 to 256 to allow for longer device information strings in identity sessions. --- .../Volo/Abp/Identity/IdentitySessionConsts.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/IdentitySessionConsts.cs b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/IdentitySessionConsts.cs index ca047730ee..72d8e8af2b 100644 --- a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/IdentitySessionConsts.cs +++ b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/IdentitySessionConsts.cs @@ -6,7 +6,7 @@ public class IdentitySessionConsts public static int MaxDeviceLength { get; set; } = 64; - public static int MaxDeviceInfoLength { get; set; } = 64; + public static int MaxDeviceInfoLength { get; set; } = 256; public static int MaxClientIdLength { get; set; } = 64;