Ensures approval status is checked when validating a member

This commit is contained in:
Shannon
2013-11-20 08:55:09 +11:00
parent 31ab56a3c1
commit c2a858b903

View File

@@ -793,12 +793,10 @@ 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;
//}
//check for approve status. If not approved, then set the member property to null
if (!CheckApproveStatus(m)) {
m = null;
}
// maybe update login date
if (m != null && string.IsNullOrEmpty(_lastLoginPropertyTypeAlias) == false)