mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-28 06:20:14 +00:00
fix the initial credential screen
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
@@ -30,16 +30,6 @@ class ConfigurationManager
|
||||
return $this->GetConfig()['AIO_TOKEN'];
|
||||
}
|
||||
|
||||
public function GetIsContainerUpateAvailable() : bool {
|
||||
return isset($this->GetConfig()['isContainerUpateAvailable']) ? $this->GetConfig()['isContainerUpateAvailable'] : false;
|
||||
}
|
||||
|
||||
public function SetIsContainerUpateAvailable(bool $value) : void {
|
||||
$config = $this->GetConfig();
|
||||
$config['isContainerUpateAvailable'] = $value;
|
||||
$this->WriteConfig($config);
|
||||
}
|
||||
|
||||
public function SetPassword(string $password) : void {
|
||||
$config = $this->GetConfig();
|
||||
$config['username'] = 'admin';
|
||||
|
||||
Reference in New Issue
Block a user