diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2017-04-24 12:17:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-24 12:17:04 +0200 |
commit | 42e805f0578b95206fdddabfe6234b0880c27b1e (patch) | |
tree | d9dc2870f2727ac0b35e95681ebc320222c5cc17 /apps/user_ldap/lib/User_Proxy.php | |
parent | 3d671cc536b1b472c746fd4ea8f60135f4935a44 (diff) | |
parent | 5fa218051bb7cafe9acfdc223fe6a6d4605dacdc (diff) | |
download | nextcloud-server-42e805f0578b95206fdddabfe6234b0880c27b1e.tar.gz nextcloud-server-42e805f0578b95206fdddabfe6234b0880c27b1e.zip |
Merge pull request #1023 from GitHubUser4234/ldap_password_renew_pr
Handle password expiry in user_ldap
Diffstat (limited to 'apps/user_ldap/lib/User_Proxy.php')
-rw-r--r-- | apps/user_ldap/lib/User_Proxy.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/User_Proxy.php b/apps/user_ldap/lib/User_Proxy.php index 6417841f245..8e81b10f7b3 100644 --- a/apps/user_ldap/lib/User_Proxy.php +++ b/apps/user_ldap/lib/User_Proxy.php @@ -31,6 +31,7 @@ namespace OCA\User_LDAP; use OCA\User_LDAP\User\User; use OCP\IConfig; +use OCP\Notification\IManager as INotificationManager; class User_Proxy extends Proxy implements \OCP\IUserBackend, \OCP\UserInterface, IUserLDAP { private $backends = array(); @@ -40,11 +41,12 @@ class User_Proxy extends Proxy implements \OCP\IUserBackend, \OCP\UserInterface, * Constructor * @param array $serverConfigPrefixes array containing the config Prefixes */ - public function __construct(array $serverConfigPrefixes, ILDAPWrapper $ldap, IConfig $ocConfig) { + public function __construct(array $serverConfigPrefixes, ILDAPWrapper $ldap, IConfig $ocConfig, + INotificationManager $notificationManager) { parent::__construct($ldap); foreach($serverConfigPrefixes as $configPrefix) { $this->backends[$configPrefix] = - new User_LDAP($this->getAccess($configPrefix), $ocConfig); + new User_LDAP($this->getAccess($configPrefix), $ocConfig, $notificationManager); if(is_null($this->refBackend)) { $this->refBackend = &$this->backends[$configPrefix]; } |