mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-05-30 11:25:20 -04:00
Polish Round 1 (#2396)
This commit is contained in:
@@ -665,7 +665,9 @@ public class UserRepository : IUserRepository
|
||||
Username = u.UserName,
|
||||
Email = u.Email,
|
||||
Created = u.Created,
|
||||
CreatedUtc = u.CreatedUtc,
|
||||
LastActive = u.LastActive,
|
||||
LastActiveUtc = u.LastActiveUtc,
|
||||
Roles = u.UserRoles.Select(r => r.Role.Name).ToList(),
|
||||
IsPending = !u.EmailConfirmed,
|
||||
AgeRestriction = new AgeRestrictionDto()
|
||||
|
||||
Reference in New Issue
Block a user