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

View File

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