createAndPromote: use AuthManager::autoCreateUser
authorBryan Davis <bd808@wikimedia.org>
Sun, 30 Dec 2018 02:41:27 +0000 (19:41 -0700)
committerGergő Tisza <gtisza@wikimedia.org>
Tue, 8 Jan 2019 20:45:12 +0000 (20:45 +0000)
commitef2ba25b7705e402557f27481efe2255d8447b62
treeb0b4ea11efe21c543271d974d17290c6d08fce55
parent1d47891cc3d43bc6b47e30d0b605436c3dac1fc9
createAndPromote: use AuthManager::autoCreateUser

Use AuthManager::autoCreateUser when creating a new user via
createAndPromote.php so that configured AuthManager providers have
a chance to perform validations and extra actions beyond local account
creation.

Bug: T212689
Change-Id: I4972507bbaf65bb542934c281c37bd8a5c7a26b7
includes/auth/AuthManager.php
maintenance/createAndPromote.php