Added Authorization

This commit is contained in:
t.ruspekhofer 2022-02-22 01:06:41 +01:00
parent 04049f31f6
commit e47d6488c2
15 changed files with 134 additions and 21 deletions

View file

@ -29,7 +29,7 @@ namespace Lieb.Pages.Users
return NotFound();
}
User = await _context.Users.FirstOrDefaultAsync(m => m.LiebUserId == id);
User = await _context.LiebUsers.FirstOrDefaultAsync(m => m.LiebUserId == id);
if (User == null)
{