50 'label' =>
wfMessage(
'createaccountmail' ),
51 'help' =>
wfMessage(
'createaccountmail-help' ),
63 $this->mailpassword =
true;
75 $minLength = $config->get(
'MinimalPasswordLength' );
76 $policy = $config->get(
'PasswordPolicy' );
77 foreach ( $policy[
'policies'] as $p ) {
78 foreach ( [
'MinimalPasswordLength',
'MinimumPasswordLengthToLogin' ] as $check ) {
79 $minLength = max( $minLength, $p[$check][
'value'] ?? $p[$check] ?? 0 );
83 $password = \PasswordFactory::generateRandomPasswordString( $minLength );
93 $request =
new self( null );
103 'provider' =>
wfMessage(
'authmanager-provider-temporarypassword' ),
104 'account' => new \RawMessage(
'$1', [ $this->username ] ),
105 ] + parent::describeCredentials();
wfMessage( $key,... $params)
This is the function for getting translated interface messages.