Files
InventoryTraker-Box/InventoryTraker.Web/Identity/ApplicationUserManager.cs
T
2016-08-08 14:47:35 -04:00

18 lines
386 B
C#

using InventoryTraker.Web.Core;
using Microsoft.AspNet.Identity;
namespace InventoryTraker.Web.Identity
{
public class ApplicationUserManager : UserManager<User>
{
public ApplicationUserManager(IUserStore<User> store)
: base(store)
{
UserValidator = new UserValidator<User>(this)
{
AllowOnlyAlphanumericUserNames = false,
RequireUniqueEmail = true
};
}
}
}