reconfigure nine

This commit is contained in:
afornerot 2020-10-05 16:10:04 +02:00
parent 43307f22cb
commit 13758c10fa
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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");