removes null check for LoginName, since it gets set to the name passed in if it is empty
This commit is contained in:
@@ -215,7 +215,6 @@ namespace umbraco.cms.businesslogic.member
|
||||
{
|
||||
if (mbt == null) throw new ArgumentNullException("mbt");
|
||||
var loginName = (string.IsNullOrEmpty(LoginName) == false) ? LoginName : Name;
|
||||
Mandate.ParameterNotNullOrEmpty(LoginName, "LoginName");
|
||||
|
||||
//NOTE: This check is ONLY for backwards compatibility, this check shouldn't really be here it is up to the Membership provider
|
||||
// logic to deal with this but it was here before so we can't really change that.
|
||||
|
||||
Reference in New Issue
Block a user