(bug 14324) Creating an account is again possible with set to true
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 29 May 2008 17:50:09 +0000 (17:50 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 29 May 2008 17:50:09 +0000 (17:50 +0000)
RELEASE-NOTES
includes/Title.php

index f516f7f..9355d36 100644 (file)
@@ -311,6 +311,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 14312) Update LanguageKaa.php for handling transform issues with i to İ
   and I to ı
 * (bug 13826) MediaWiki:Defaultns accepts Wikicode
+* (bug 14324) Creating an account is again possible with $wgEmailConfirmToEdit
+  set to true
 
 === API changes in 1.13 ===
 
index 4ddd57d..f7116cc 100644 (file)
@@ -1058,7 +1058,7 @@ class Title {
                global $wgLang;
                global $wgEmailConfirmToEdit;
 
-               if ( $wgEmailConfirmToEdit && !$user->isEmailConfirmed() ) {
+               if ( $wgEmailConfirmToEdit && !$user->isEmailConfirmed() && $action != 'createaccount' ) {
                        $errors[] = array( 'confirmedittext' );
                }