reconfigure nine
This commit is contained in:
parent
43307f22cb
commit
13758c10fa
|
@ -10,9 +10,7 @@ DIR=$(pwd)
|
|||
. $DIR/scripts/proxy.sh
|
||||
|
||||
# Mise en place du fichier d'environnement model
|
||||
if [ ! -f $DIR/.env ]; then
|
||||
mv $DIR/scripts/.env.model $DIR/.env
|
||||
fi
|
||||
yes 2>/dev/null | cp $DIR/scripts/.env.model $DIR/.env
|
||||
|
||||
# Installation des dépendances composer
|
||||
echo COMPOSER = Install
|
||||
|
|
|
@ -238,7 +238,7 @@ class SecurityController extends AbstractController
|
|||
|
||||
// Récupération des informations du user
|
||||
try{
|
||||
$response = \Unirest\Request::post($url.'/rest/user/'.$user->getUsername(),$headers,["key"=>$appmasterkey]);
|
||||
$response = \Unirest\Request::post($url.'/rest/user/'.$user->getUsername(),$headers,["key"=>$appmasterkey,"only"=>"user,groups"]);
|
||||
}
|
||||
catch (\Exception $e) {
|
||||
die("Erreur de communication API = ".$e->getMessage()."\n");
|
||||
|
|
Loading…
Reference in New Issue