I disabled anonymous account creation by using
$wgGroupPermissions['*']['createaccount'] = false;
which works. But this also disables the password-reset-by-email functionality. How would I enable the latter without enabling anonymous users to create an account?
-Sebastian
ps. My complete permission configuration is this:
$wgWhitelistRead = array( "Main Page", "Spezial:Userlogin", "-", "MediaWiki:Monobook.css" ); $wgGroupPermissions['*']['read'] = false; $wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissions['user']['edit'] = true;
Sebastian Stark wrote:
I disabled anonymous account creation by using
$wgGroupPermissions['*']['createaccount'] = false;
which works. But this also disables the password-reset-by-email functionality.
No it doesn't.
-- brion vibber (brion @ pobox.com)
On 07.06.2006, at 10:59, Brion Vibber wrote:
Sebastian Stark wrote:
I disabled anonymous account creation by using
$wgGroupPermissions['*']['createaccount'] = false;
which works. But this also disables the password-reset-by-email functionality.
No it doesn't.
Thanks for your answer.
If I set this to "true" than I can see the "email new password" button. If I set it to false I can not see it.
Can you please explain this?
-Sebastian
Brion Vibber a écrit :
Sebastian Stark wrote:
I disabled anonymous account creation by using
$wgGroupPermissions['*']['createaccount'] = false;
which works. But this also disables the password-reset-by-email functionality.
No it doesn't.
-- brion vibber (brion @ pobox.com)
Actually, it does in 1.5.8.
you can possibly upgrade to 1.6.7
On 07.06.2006, at 11:11, Alexis Moinet wrote:
Brion Vibber a écrit :
Sebastian Stark wrote:
I disabled anonymous account creation by using
$wgGroupPermissions['*']['createaccount'] = false;
which works. But this also disables the password-reset-by-email functionality.
No it doesn't.
-- brion vibber (brion @ pobox.com)
Actually, it does in 1.5.8.
you can possibly upgrade to 1.6.7
Ah, thank you for clarifying. I should have told you about my version.
I guess there is no easy (= hacking) way to change that behaviour without the need to upgrade?
-Sebastian
in includes/templates/userlogin.php
change : <?php if( $this->data['useemail'] ) { ?> <tr> <td colspan='3'> </td> </tr> <tr> <td colspan='3' align='left'> <p> <?php $this->msgHtml( 'emailforlost' ) ?><br /> <input tabindex='10' type='submit' name="wpMailmypassword" value="<?php $this->msg('mailmypassword') ?>" /> </p> </td> </tr> *<?php } } ?>*
onto this :
*<?php } ?>* <?php if( $this->data['useemail'] ) { ?> <tr> <td colspan='3'> </td> </tr> <tr> <td colspan='3' align='left'> <p> <?php $this->msgHtml( 'emailforlost' ) ?><br /> <input tabindex='10' type='submit' name="wpMailmypassword" value="<?php $this->msg('mailmypassword') ?>" /> </p> </td> </tr> * <?php } ?>*
Ah, thank you for clarifying. I should have told you about my version.
I guess there is no easy (= hacking) way to change that behaviour without the need to upgrade?
-Sebastian _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org