Manual:$wgPasswordResetRoutes

This page is a translated version of the page Manual:$wgPasswordResetRoutes and the translation is 42% 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

既定値

MediaWiki バージョン:
1.26
[
	'username' => true,
	'email' => true,
]
MediaWiki バージョン:
1.18 – 1.25
array(
	'username' => true,
	'email' => false,
)