fixes issue with legacy user.Password property and fixes comparison of sections

This commit is contained in:
Shannon
2014-02-13 17:19:28 +11:00
parent 0a80c39962
commit 4069fc8d1f
2 changed files with 2 additions and 2 deletions

View File

@@ -169,7 +169,7 @@ namespace Umbraco.Web.Security
{
return true;
}
return CurrentUser.Applications.Any(uApp => uApp.alias == app);
return CurrentUser.Applications.Any(uApp => uApp.alias.InvariantEquals(app));
}
internal void UpdateLogin(long timeout)

View File

@@ -162,7 +162,7 @@ namespace umbraco.BusinessLogic
}
set
{
_user.Language = value;
_user.Password = value;
}
}