MediaWiki master
PreviouslyRenamedAccountAuthenticationRequest.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Auth;
4
10 public bool $allowPreviouslyRenamedAccount = false;
11
15 public function getFieldInfo() {
16 return [
17 'allowPreviouslyRenamedAccount' => [
18 'type' => 'checkbox',
19 'label' => wfMessage( 'allow-previously-renamed-account' ),
20 'help' => wfMessage( 'allow-previously-renamed-account-help' ),
21 'optional' => true,
22 ],
23 ];
24 }
25}
wfMessage( $key,... $params)
This is the function for getting translated interface messages.
This is a value object for authentication requests.
An authentication request that allows users with sufficiently high privileges to create a new account...
getFieldInfo()
Fetch input field info.This will be used in the AuthManager APIs and web UIs to define API input para...