You can now change the user password in the user editor

This commit is contained in:
Shannon
2017-06-23 14:08:58 +10:00
parent 25a79bc2fa
commit 692dc66684
17 changed files with 451 additions and 240 deletions

View File

@@ -61,7 +61,7 @@ namespace Umbraco.Web
{
//if there are no member names supplied then we assume that the validation message is for the overall property
// not a sub field on the property editor
if (!result.MemberNames.Any())
if (result.MemberNames.Any() == false)
{
//add a model state error for the entire property
modelState.AddModelError(string.Format("{0}.{1}", "_Properties", propertyAlias), result.ErrorMessage);