added hook for password update

This commit is contained in:
Alexander Vassilevski
2021-02-21 18:40:26 -08:00
parent 69e87dbf22
commit 0fc202ac85
2 changed files with 62 additions and 18 deletions

View File

@ -11,9 +11,11 @@ class Config {
private $logger;
private $appConfiguration;
private $logContext = ['app' => 'ct_auto_mail_hooks'];
public function __construct(ILogger $logger, IConfig $nextCloudConfiguration) {
public function __construct(
ILogger $logger, IConfig $nextCloudConfiguration) {
$this->logger = $logger;
$this->appConfiguration = $nextCloudConfiguration->getSystemValue(self::CONFIG_KEY);
$this->appConfiguration =
$nextCloudConfiguration->getSystemValue(self::CONFIG_KEY);
}
public function getGlesysKeys() {
return $this->getConfValue(self::CONFIG_KEY_GLESYS_KEYS);