fixes issue with legacy user.Password property and fixes comparison of sections
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -162,7 +162,7 @@ namespace umbraco.BusinessLogic
|
||||
}
|
||||
set
|
||||
{
|
||||
_user.Language = value;
|
||||
_user.Password = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user