Skip to content

Commit 0918c0b

Browse files
committed
fixed forbid
1 parent 89c145c commit 0918c0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gordon360/Controllers/ProfilesController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ public async Task<ActionResult<FacultyStaffProfileViewModel>> UpdateOfficeLocati
454454
var groups = AuthUtils.GetGroups(User);
455455
if (!groups.Contains(AuthGroup.OfficeAdmin))
456456
{
457-
return Forbid("Only OfficeAdmin can update other users' office locations.");
457+
return Forbid();
458458
}
459459
}
460460
else

0 commit comments

Comments
 (0)