added password update hook

This commit is contained in:
Alexander Vassilevski
2021-02-21 19:06:57 -08:00
parent b99446dff1
commit fe013d6eea
2 changed files with 64 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);