You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 14, 2017. It is now read-only.
I would also be tempted to rename IsLoginAllowed -> IsLocked.
I won't of course as it would be a big breaking change. Instead I'll add a summary xml comment to the property:
/// <summary>/// Returns true when the account is locked/// </summary>/// <remarks>/// An locked account will not be able to sign in/// </remarks>publicvirtualboolIsLoginAllowed{ get;protectedinternalset;}
Hi Brok, I've been trying to add an account approval process. I think MR needs an enhancement that I'm about to add if OK with you.
Problem
There's no way to distinguish between when an account is locked or that the account is unapproved.
ie
UserAccount.IsLoginAllowed
is being overloaded with multiple meanings.Scenario
Just to be clear here's the use case:
Solution
UserAccount.IsAccountApproved
flagMembershipRebootConfiguration.RequireAccountApproval
flag!IsAccountApproved && RequireAccountApproval
ApproveAccount
andRejectAccount
methods toUserAccountService
IsAccountApproved
The text was updated successfully, but these errors were encountered: