Update security.lib.php
This commit is contained in:
parent
5d854dcce1
commit
f50dfe8571
@ -418,7 +418,7 @@ function restrictedArea($user, $features, $objectid = 0, $tableandshare = '', $f
|
||||
continue; // User can edit its own password
|
||||
}
|
||||
if ($subfeature == 'user' && $user->id != $objectid && $user->rights->user->user->password) {
|
||||
continue; // User can edit its own password
|
||||
continue; // User can edit another user's password
|
||||
}
|
||||
|
||||
if (empty($user->rights->$feature->$subfeature->creer)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user