forked from Sarah/Lieb-Website
Added Authorization
This commit is contained in:
parent
04049f31f6
commit
e47d6488c2
15 changed files with 134 additions and 21 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue