Browse Source
`DisableDateTimeNormalization` for `IdentityUser`'s `LockoutEnd` property.
pull/20457/head
maliming
2 years ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
1 changed files with
2 additions and
0 deletions
-
modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/IdentityUser.cs
|
|
@ -9,6 +9,7 @@ using Volo.Abp.Auditing; |
|
|
using Volo.Abp.Domain.Entities.Auditing; |
|
|
using Volo.Abp.Domain.Entities.Auditing; |
|
|
using Volo.Abp.Guids; |
|
|
using Volo.Abp.Guids; |
|
|
using Volo.Abp.Users; |
|
|
using Volo.Abp.Users; |
|
|
|
|
|
using Volo.Abp.Timing; |
|
|
|
|
|
|
|
|
namespace Volo.Abp.Identity; |
|
|
namespace Volo.Abp.Identity; |
|
|
|
|
|
|
|
|
@ -99,6 +100,7 @@ public class IdentityUser : FullAuditedAggregateRoot<Guid>, IUser, IHasEntityVer |
|
|
/// <remarks>
|
|
|
/// <remarks>
|
|
|
/// A value in the past means the user is not locked out.
|
|
|
/// A value in the past means the user is not locked out.
|
|
|
/// </remarks>
|
|
|
/// </remarks>
|
|
|
|
|
|
[DisableDateTimeNormalization] |
|
|
public virtual DateTimeOffset? LockoutEnd { get; protected internal set; } |
|
|
public virtual DateTimeOffset? LockoutEnd { get; protected internal set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
|