backend for logging

This commit is contained in:
root
2024-05-02 11:11:12 +00:00
parent 8e4322649e
commit 0ecfcd5a9a
259 changed files with 4111 additions and 709 deletions
+1
View File
@@ -33,6 +33,7 @@ public class JwtMiddleware
else
{
var token = context.Request.Headers["Authorization"].FirstOrDefault()?.Split(" ").Last();
Console.WriteLine(token);
if (token != null && _jwtService.ValidateJwtToken(token))
{
await _next(context);