修复bug
This commit is contained in:
parent
9e4d4144a6
commit
d035d32811
@ -324,7 +324,7 @@ else{
|
||||
if (this.User.FindAll(ClaimTypes.Role).Any(a => a.Value == "admin"))
|
||||
{
|
||||
var ouser = await userManager.FindByIdAsync(userid);
|
||||
|
||||
|
||||
ouser.officium = opname;
|
||||
await userManager.UpdateAsync(ouser);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user