手册:$wgPasswordResetRoutes

This page is a translated version of the page Manual:$wgPasswordResetRoutes and the translation is 50% complete.
Other languages:
English • ‎español • ‎français • ‎magyar • ‎polski • ‎中文 • ‎日本語
访问: $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.

Default value

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