diff --git a/DotBased b/DotBased index c092b8a..0fed89e 160000 --- a/DotBased +++ b/DotBased @@ -1 +1 @@ -Subproject commit c092b8a679c218c845e4981deb7b5b5dd174a311 +Subproject commit 0fed89e140c1500495e01f1f836416f107dcdbce diff --git a/DotBased.Identity/Class1.cs b/DotBased.Identity/Class1.cs new file mode 100644 index 0000000..0600fc3 --- /dev/null +++ b/DotBased.Identity/Class1.cs @@ -0,0 +1,5 @@ +namespace DotBased.Identity; + +public class Class1 +{ +} \ No newline at end of file diff --git a/DotBased.Identity/DotBased.Identity.csproj b/DotBased.Identity/DotBased.Identity.csproj new file mode 100644 index 0000000..3a63532 --- /dev/null +++ b/DotBased.Identity/DotBased.Identity.csproj @@ -0,0 +1,9 @@ + + + + net8.0 + enable + enable + + + diff --git a/SharpRSS.Blazor/Program.cs b/SharpRSS.Blazor/Program.cs index ba68c42..f9dd1d9 100644 --- a/SharpRSS.Blazor/Program.cs +++ b/SharpRSS.Blazor/Program.cs @@ -23,10 +23,10 @@ builder.Services.AddBasedServerAuth(options => options.LogoutPath = "/auth/logout"; options.SeedData = service => { - service.CreateUserAsync(new UserModel() { UserName = "Admin", Email = "admin@example.com", Enabled = true, PasswordHash = "password", Roles = new List() { new RoleModel() { Name = "Admin", Description = "Administration role." }}}); - service.CreateUserAsync(new UserModel() { UserName = "User", Email = "user@example.com", Enabled = true, PasswordHash = "password"}); + /*service.CreateUserAsync(new UserModel() { UserName = "Admin", Email = "admin@example.com", Enabled = true, PasswordHash = "password", Roles = new List() { new RoleModel() { Name = "Admin", Description = "Administration role." }}}); + service.CreateUserAsync(new UserModel() { UserName = "User", Email = "user@example.com", Enabled = true, PasswordHash = "password"});*/ }; - options.SetDataProviderType(); + options.SetDataRepositoryType(); options.SetSessionStateProviderType(); }); diff --git a/SharpRSS.Blazor/SRSS.db-shm b/SharpRSS.Blazor/SRSS.db-shm deleted file mode 100644 index fe9ac28..0000000 Binary files a/SharpRSS.Blazor/SRSS.db-shm and /dev/null differ diff --git a/SharpRSS.Blazor/SRSS.db-wal b/SharpRSS.Blazor/SRSS.db-wal deleted file mode 100644 index e69de29..0000000