Skip to content

Commit 1784baf

Browse files
add logging
1 parent e5936d0 commit 1784baf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

backend/Bugget/Controllers/AuthController.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ public sealed class AuthController(EmployeesDataAccess employeesDataAccess) : Ap
1919
[HttpGet]
2020
public IActionResult GetCurrentUser()
2121
{
22+
foreach (var header in Request.Headers)
23+
{
24+
Console.WriteLine($"{header.Key}: {header.Value}");
25+
}
26+
2227
var user = User.GetIdentity();
2328
if (!employeesDataAccess.DictEmployees().TryGetValue(user.Id, out var employee))
2429
{

0 commit comments

Comments
 (0)