removes remaining back office things from underlying UmbracoUserManager moves files

This commit is contained in:
Shannon
2020-12-04 02:21:21 +11:00
parent aeec18d808
commit 86d231f5de
37 changed files with 111 additions and 230 deletions

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Identity;
namespace Umbraco.Extensions
{
public static class IdentityExtensions
{
public static string ToErrorMessage(this IEnumerable<IdentityError> errors)
{
if (errors == null) throw new ArgumentNullException(nameof(errors));
return string.Join(", ", errors.Select(x => x.Description).ToList());
}
}
}