Hoo man has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/65123


Change subject: Log account autocreation on manual login
......................................................................

Log account autocreation on manual login

Bug: 42434
Change-Id: I772cf0e7470a6111f84135074014e8a5f8c5fde0
---
M CentralAuthPlugin.php
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth 
refs/changes/23/65123/1

diff --git a/CentralAuthPlugin.php b/CentralAuthPlugin.php
index 4a8be03..efc8cee 100644
--- a/CentralAuthPlugin.php
+++ b/CentralAuthPlugin.php
@@ -239,6 +239,8 @@
                                $central->attach( wfWikiID(), 'login' );
                                $central->addLocalName( wfWikiID() );
                                $this->updateUser( $user );
+                               # Log the autcreation
+                               $user->addNewUserLogEntryAutoCreate();
                        }
                }
        }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I772cf0e7470a6111f84135074014e8a5f8c5fde0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Hoo man <h...@online.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to