Authentifizierungskomponenten hinzugefügt
This commit is contained in:
1 parent
1097ab98fc
commit
fd9103fa2a
54 files changed
+3665
-7
No files matched your search
@@ -1,4 +1,5 @@
|
||||
using Microsoft.Data.Sqlite;
|
||||
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
||||
using Microsoft.Data.Sqlite;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using System;
|
||||
@@ -10,7 +11,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace FWLAZ_Web.Data
|
||||
{
|
||||
public class LocalDbContext : DbContext
|
||||
public class LocalDbContext : IdentityDbContext
|
||||
{
|
||||
protected readonly IConfiguration configuration;
|
||||
|
||||
@@ -32,7 +33,7 @@ namespace FWLAZ_Web.Data
|
||||
|
||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||
{
|
||||
|
||||
base.OnModelCreating(modelBuilder);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
|
||||
namespace FWLAZ_Web.Data
|
||||
{
|
||||
public class User : IdentityUser
|
||||
{
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Reference in new issue
Block a user