jenkins-bot has submitted this change and it was merged.

Change subject: Fix multiple domain check when changing password
......................................................................


Fix multiple domain check when changing password

Check LdapPrimaryAuthenticationProvider::hasMultipleDomains rather than
non-existent LdapPrimaryAuthenticationProvider::hasDomain.

Change-Id: I56c11b179afc8087a19e55e66fe29f55aa413c73
---
M LdapPrimaryAuthenticationProvider.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Anomie: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/LdapPrimaryAuthenticationProvider.php 
b/LdapPrimaryAuthenticationProvider.php
index 4dc2eac..149a219 100644
--- a/LdapPrimaryAuthenticationProvider.php
+++ b/LdapPrimaryAuthenticationProvider.php
@@ -375,7 +375,7 @@
                                return;
                        }
 
-                       if ( $this->hasDomain && $req->domain === null ) {
+                       if ( $this->hasMultipleDomains && $req->domain === null 
) {
                                return;
                        }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/297336
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I56c11b179afc8087a19e55e66fe29f55aa413c73
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/LdapAuthentication
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>
Gerrit-Reviewer: Anomie <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: GergÅ‘ Tisza <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to