Legoktm has uploaded a new change for review.
https://gerrit.wikimedia.org/r/224108
Change subject: Add 'AuthPluginStrict' log to identify users who are unable to
authenticate
......................................................................
Add 'AuthPluginStrict' log to identify users who are unable to authenticate
To be able to identify any users who are unable to log in when switching
from allowing local authentication to strict.
Change-Id: I2ebdccdad9c7794d1c1b13db6a646a43bc770c4e
---
M includes/User.php
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/08/224108/1
diff --git a/includes/User.php b/includes/User.php
index 63c0d37..ac18a30 100644
--- a/includes/User.php
+++ b/includes/User.php
@@ -3994,6 +3994,7 @@
return true;
} elseif ( $wgAuth->strict() ) {
// Auth plugin doesn't allow local authentication
+ wfDebugLog( 'AuthPluginStrict', "Authentication denied
for {$this->getName()}" );
return false;
} elseif ( $wgAuth->strictUserAuth( $this->getName() ) ) {
// Auth plugin doesn't allow local authentication for
this user name
--
To view, visit https://gerrit.wikimedia.org/r/224108
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2ebdccdad9c7794d1c1b13db6a646a43bc770c4e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits