U4-3385 Find a better solution for approving members

This commit is contained in:
Sebastiaan Janssen
2013-11-05 13:19:06 +01:00
parent 01b21dc9eb
commit c19a8fa602

View File

@@ -793,10 +793,12 @@ namespace umbraco.providers.members
}
}
// TODO: Make approving optional for all member types, forcing it on is not good
// check for approve status. If not approved, then set the member property to null
if (!CheckApproveStatus(m)) {
m = null;
}
//if (!CheckApproveStatus(m)) {
// m = null;
//}
// maybe update login date
if (m != null && string.IsNullOrEmpty(_lastLoginPropertyTypeAlias) == false)