first commit symfony 6

This commit is contained in:
Arnaud Fornerot 2022-07-21 16:33:00 +02:00
parent 7d0a07816c
commit 4cdabaa4e3
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ services:
MERCURE_PUBLISHER_JWT_KEY: '!ChangeMe!' MERCURE_PUBLISHER_JWT_KEY: '!ChangeMe!'
MERCURE_SUBSCRIBER_JWT_KEY: '!ChangeMe!' MERCURE_SUBSCRIBER_JWT_KEY: '!ChangeMe!'
MERCURE_EXTRA_DIRECTIVES: | MERCURE_EXTRA_DIRECTIVES: |
cors_origins http://127.0.0.1:8000 cors_origins https://127.0.0.1:8000
# Comment the following line to disable the development mode # Comment the following line to disable the development mode
command: /usr/bin/caddy run -config /etc/caddy/Caddyfile.dev command: /usr/bin/caddy run -config /etc/caddy/Caddyfile.dev
volumes: volumes:

View File

@ -49,7 +49,7 @@ class LdapService
} }
public function isNine2Ldap() { public function isNine2Ldap() {
return ($this->connect()&&$this->appMasteridentity=="SQL"&&$this->synchro=="NINE2LDAP"&&$this->userwriter&&$this->baseorganisation&&$this->baseniveau01&&$this->baseniveau02&&$this->basegroup&&$this->baseuser); return ($this->appMasteridentity=="SQL"&&$this->synchro=="NINE2LDAP"&&$this->userwriter&&$this->baseorganisation&&$this->baseniveau01&&$this->baseniveau02&&$this->basegroup&&$this->baseuser&&$this->connect());
} }
public function connect() { public function connect() {