Manual:$wgPasswordResetRoutes/zh

Category:MediaWiki configuration settings/zh#PasswordResetRoutesCategory:MediaWiki configuration settings introduced in version 1.18.0/zh#PasswordResetRoutesCategory:MediaWiki configuration settings still in use/zh#PasswordResetRoutesCategory:Authentication variables/zh#PasswordResetRoutes
认证: $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

默认值

MediaWiki版本:
1.26
[
	'username' => true,
	'email' => true,
]
MediaWiki版本:
1.18 1.25
array(
	'username' => true,
	'email' => false,
)
Category:Authentication variables/zh Category:MediaWiki configuration settings/zh Category:MediaWiki configuration settings introduced in version 1.18.0/zh Category:MediaWiki configuration settings still in use/zh