手册:$wgPasswordResetRoutes

This page is a translated version of the page Manual:$wgPasswordResetRoutes and the translation is 33% complete.
认证: $wgPasswordResetRoutes
Whether to allow password resets identified by various bits of data.
引进版本:1.18.0 (r86482)
移除版本:仍在使用
允许的值:(数组)
默认值:参见下方

详情

Whether to allow password resets ("enter some identifying data, and we'll send an email with a temporary password you can use to get back into the account") identified by various bits of data. Setting all of these to false (or the whole variable to false) has the effect of disabling "password resets" entirely.

  警告: "Password reset" is different from "Password change". This variable, if set to false, prevents the former. It has no effect to the latter irrespective of its value. To know the differences between these concepts, see Manual:Resetting passwords#Differences between Special:PasswordReset and Special:ChangePassword

Default value

MediaWiki版本:
1.26
[
	'username' => true,
	'email' => true,
]
MediaWiki版本:
1.18 – 1.25
array(
	'username' => true,
	'email' => false,
)