Added login/register function. Implemented authentication. Started authorization
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
using Moonlight.ApiServer.Helpers;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Moonlight.ApiServer.Database.Entities;
|
||||
using Moonlight.ApiServer.Helpers;
|
||||
|
||||
namespace Moonlight.ApiServer.Database;
|
||||
|
||||
public class CoreDataContext : DatabaseContext
|
||||
{
|
||||
public override string Prefix { get; } = "Core";
|
||||
|
||||
public DbSet<User> Users { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user