mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
feat: implement Turnstile verification for enhanced security during login and registration
refactor: remove unnecessary interfaces for services; change user key from UID to UUID
This commit is contained in:
@@ -5,7 +5,7 @@ using SharpbinV3.Server.Data.Entities;
|
||||
|
||||
namespace SharpbinV3.Server.Services
|
||||
{
|
||||
public sealed class UserService(AppDbContext db) : IUserService
|
||||
public sealed class UserService(AppDbContext db)
|
||||
{
|
||||
private readonly AppDbContext _db = db;
|
||||
public Task<User?> GetByUID(int uid, bool withPastes = false)
|
||||
|
||||
Reference in New Issue
Block a user