fix: use userid for jwt, migration for user roles

This commit is contained in:
2025-07-17 10:39:22 +02:00
parent f34a1ee995
commit 3cd2eff522
8 changed files with 223 additions and 4 deletions

View File

@@ -23,7 +23,8 @@ public static class UserMapping
{
Id = user.Id,
Name = user.Name,
Email = user.Email
Email = user.Email,
Role = user.Role
};
}
}