Go to the documentation of this file.
45 'label' =>
wfMessage(
'createaccountmail' ),
46 'help' =>
wfMessage(
'createaccountmail-help' ),
57 $this->mailpassword =
true;
69 $minLength =
$config->
get(
'MinimalPasswordLength' );
71 foreach ( $policy[
'policies'] as $p ) {
72 foreach ( [
'MinimalPasswordLength',
'MinimumPasswordLengthToLogin' ] as $check ) {
73 $minLength = max( $minLength, $p[$check][
'value'] ?? $p[$check] ?? 0 );
87 $request =
new self( null );
93 'provider' =>
wfMessage(
'authmanager-provider-temporarypassword' ),
94 'account' => new \RawMessage(
'$1', [ $this->username ] ),
95 ] + parent::describeCredentials();
wfMessage( $key,... $params)
This is the function for getting translated interface messages.
static generateRandomPasswordString( $minLength=10)
Generate a random string suitable for a password.
get( $name)
Get a configuration variable such as "Sitename" or "UploadMaintenance.".