feat: The posts are now sorted

fix: modmenu now checks for the permission, you now have to be 18yo to access the boards, images now get deleted when deleting threads / posts, fixed grammar error in the register page, other fixed which i forget
This commit is contained in:
limited_dev 2023-02-13 18:45:14 +01:00
parent f0fbb11824
commit dcc7634f5e
13 changed files with 219 additions and 88 deletions

View file

@ -27,6 +27,9 @@ public static class UsersRepository
return await db.Users
.Where(user => user.Email == email)
.Include(user => user.SubmittedReports)
.Include(user => user.Posts)
.Include(user => user.Comments)
.Include(user => user.RecivedReports)
.FirstOrDefaultAsync();
}