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