This commit is contained in:
@@ -204,11 +204,12 @@ namespace AyaNova.Biz
|
||||
//run validation and biz rules
|
||||
if (isNew)
|
||||
{
|
||||
//NEW Users must be active
|
||||
if (((bool)inObj.Active) == false)
|
||||
{
|
||||
AddError(ValidationErrorType.InvalidValue, "Active", "New User must be active");
|
||||
}
|
||||
//Not sure why we would care about this particular rule or why I added it? Maybe it's from widget?
|
||||
// //NEW Users must be active
|
||||
// if (((bool)inObj.Active) == false)
|
||||
// {
|
||||
// AddError(ValidationErrorType.InvalidValue, "Active", "New User must be active");
|
||||
// }
|
||||
}
|
||||
|
||||
//OwnerId required
|
||||
|
||||
Reference in New Issue
Block a user