Last modified: 2009-07-27 23:53:31 UTC
I would like my authentication hook to be able to modify the UI differently depending on whether the user is trying to log in or create a new account. To do this, I added a parameter to the abstract function AuthPlugin::modifyUITemplate() for the login type. In SpecialUserlogin.php around line 687 I added $this->mType as the second parameter in the modifyUITemplate call. I think this would be useful for others modifying the UI as well and would be useful if added to the code base.
Created attachment 4218 [details] Fix against 11.0 release As described above, adds type parameter to abstract function AuthPlugin->modifyUITemplate and passes parameter to the call to modifyUITemplate in SpecialUserlogin.php
Applied in r53843