mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-05 13:27:57 +00:00
Make AIO_TOKEN an attribute
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
This commit is contained in:
parent
85654218dd
commit
681ec13b8d
4 changed files with 8 additions and 10 deletions
|
|
@ -213,10 +213,7 @@ readonly class DockerController {
|
|||
}
|
||||
|
||||
public function startTopContainer(bool $pullImage) : void {
|
||||
$config = $this->configurationManager->GetConfig();
|
||||
// set AIO_TOKEN
|
||||
$config['AIO_TOKEN'] = bin2hex(random_bytes(24));
|
||||
$this->configurationManager->WriteConfig($config);
|
||||
$this->configurationManager->AIO_TOKEN = bin2hex(random_bytes(24));
|
||||
|
||||
// Stop domaincheck since apache would not be able to start otherwise
|
||||
$this->StopDomaincheckContainer();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue