21 lines
563 B
C#
21 lines
563 B
C#
using Microsoft.AspNetCore.Identity;
|
|
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using MTG_CollectionVerwaltung.Data.MTGCollection;
|
|
|
|
namespace MTG_CollectionVerwaltung.Data
|
|
{
|
|
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
|
|
{
|
|
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
|
|
: base(options)
|
|
{
|
|
}
|
|
}
|
|
|
|
public class ApplicationUser : IdentityUser
|
|
{
|
|
public bool MustChangePassword { get; set; }
|
|
}
|
|
}
|