rest users & groups
This commit is contained in:
parent
f4325bfb4f
commit
c856315a8d
|
@ -156,6 +156,7 @@ class RestController extends Controller
|
||||||
$output[$user->getId()]["lastname"] = $user->getLastname();
|
$output[$user->getId()]["lastname"] = $user->getLastname();
|
||||||
$output[$user->getId()]["email"] = $user->getEmail();
|
$output[$user->getId()]["email"] = $user->getEmail();
|
||||||
$output[$user->getId()]["avatar"] = $weburl."uploads/avatar/".$user->getAvatar();
|
$output[$user->getId()]["avatar"] = $weburl."uploads/avatar/".$user->getAvatar();
|
||||||
|
$output[$user->getId()]["role"] = $user->getRole();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Retour
|
// Retour
|
||||||
|
|
Loading…
Reference in New Issue