feat: paste creation, utilities, revert to gzip, grammar fixes etc

This commit is contained in:
2025-11-25 01:17:16 -05:00
parent 6ec1a7fa7b
commit 93daa2e1a2
19 changed files with 949 additions and 23 deletions
+2 -1
View File
@@ -57,7 +57,8 @@ namespace SharpbinV3.Controllers
if (!Bcrypt.Verify(request.Password, user.PasswordHash))
return BadRequest(new { message = "Invalid username/email or password." });
var token = _authService.GenerateJWTToken(user);
return Ok(new { token });
await _authService.UpdateLoginTime(user);
return Ok(new { token.Result });
}
[HttpPost]
[Route("refresh")]