mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
refactor: remove unused EmailService dependency from AuthController
This commit is contained in:
@@ -27,7 +27,6 @@ namespace SharpbinV3.Server.Controllers
|
|||||||
IOptions<AuthSettings> options,
|
IOptions<AuthSettings> options,
|
||||||
VerificationService verification,
|
VerificationService verification,
|
||||||
TotpVerificationProvider totp,
|
TotpVerificationProvider totp,
|
||||||
EmailService email,
|
|
||||||
AppDbContext db
|
AppDbContext db
|
||||||
) : ControllerBase
|
) : ControllerBase
|
||||||
{
|
{
|
||||||
@@ -36,7 +35,6 @@ namespace SharpbinV3.Server.Controllers
|
|||||||
private readonly ApiKeyService _apiKeyService = apiKeyService;
|
private readonly ApiKeyService _apiKeyService = apiKeyService;
|
||||||
private readonly VerificationService _verification = verification;
|
private readonly VerificationService _verification = verification;
|
||||||
private readonly TotpVerificationProvider _totp = totp;
|
private readonly TotpVerificationProvider _totp = totp;
|
||||||
private readonly EmailService _email = email;
|
|
||||||
private readonly AppDbContext _db = db;
|
private readonly AppDbContext _db = db;
|
||||||
|
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
|
|||||||
Reference in New Issue
Block a user