Page MenuHomePhabricator
Authored By
bzimport
Nov 21 2014, 9:39 PM
Size
1 KB
Referenced Files
None
Subscribers
None

diff.txt

diff -urN old/AuthPlugin.php new/AuthPlugin.php
--- old/AuthPlugin.php 2007-08-04 12:36:26.000000000 -0400
+++ new/AuthPlugin.php 2007-10-05 10:31:11.409349600 -0400
@@ -69,9 +69,10 @@
* Modify options in the login template.
*
* @param $template UserLoginTemplate object.
+ * @param $type String 'signup' or 'login'.
* @public
*/
- function modifyUITemplate( &$template ) {
+ function modifyUITemplate( &$template, &$type ) {
# Override this!
$template->set( 'usedomain', false );
}
diff -urN old/SpecialUserlogin.php new/SpecialUserlogin.php
--- old/SpecialUserlogin.php 2007-10-05 10:32:34.772076800 -0400
+++ new/SpecialUserlogin.php 2007-10-05 10:32:10.385042100 -0400
@@ -700,7 +700,7 @@
}
// Give authentication and captcha plugins a chance to modify the form
- $wgAuth->modifyUITemplate( $template );
+ $wgAuth->modifyUITemplate( $template, $this->mType );
if ( $this->mType == 'signup' ) {
wfRunHooks( 'UserCreateForm', array( &$template ) );
} else {

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3393
Default Alt Text
diff.txt (1 KB)

Event Timeline