Developer Documentation

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.
  • /lang/en/ -> auth.php (source)

    Differences Between: [Versions 310 and 311] [Versions 37 and 311] [Versions 38 and 311] [Versions 39 and 311]

       1  <?php
       2  // This file is part of Moodle -
       3  //
       4  // Moodle is free software: you can redistribute it and/or modify
       5  // it under the terms of the GNU General Public License as published by
       6  // the Free Software Foundation, either version 3 of the License, or
       7  // (at your option) any later version.
       8  //
       9  // Moodle is distributed in the hope that it will be useful,
      10  // but WITHOUT ANY WARRANTY; without even the implied warranty of
      12  // GNU General Public License for more details.
      13  //
      14  // You should have received a copy of the GNU General Public License
      15  // along with Moodle.  If not, see <>.
      17  /**
      18   * Strings for component 'auth', language 'en', branch 'MOODLE_20_STABLE'
      19   *
      20   * @package   core_auth
      21   * @copyright 1999 onwards Martin Dougiamas  {@link}
      22   * @license GNU GPL v3 or later
      23   */
      25  $string['actauthhdr'] = 'Available authentication plugins';
      26  $string['alternatelogin'] = 'If you enter a URL here, it will be used as the login page for this site. The page should contain a form which has the action property set to <strong>\'{$a}\'</strong> and return fields <strong>username</strong> and <strong>password</strong>.<br />Be careful not to enter an incorrect URL as you may lock yourself out of this site.<br />Leave this setting blank to use the default login page.';
      27  $string['alternateloginurl'] = 'Alternate login URL';
      28  $string['auth_common_settings'] = 'Common settings';
      29  $string['auth_data_mapping'] = 'Data mapping';
      30  $string['authenticationoptions'] = 'Authentication options';
      31  $string['auth_fieldlock'] = 'Lock value';
      32  $string['auth_fieldlockfield'] = 'Lock value ({$a})';
      33  $string['auth_fieldlock_expl'] = '<p><b>Lock value:</b> If enabled, will prevent Moodle users and admins from editing the field directly. Use this option if you are maintaining this data in the external auth system. </p>';
      34  $string['auth_fieldlocks'] = 'Lock user fields';
      35  $string['auth_fieldlocks_help'] = '<p>You can lock user data fields. This is useful for sites where the user data is maintained by the administrators manually by editing user records or uploading using the \'Upload users\' facility. If you are locking fields that are required by Moodle, make sure that you provide that data when creating user accounts or the accounts will be unusable.</p><p>Consider setting the lock mode to \'Unlocked if empty\' to avoid this problem.</p>';
      36  $string['auth_fieldmapping'] = 'Data mapping ({$a})';
      37  $string['auth_changepasswordhelp'] = 'Change password help';
      38  $string['auth_changepasswordhelp_expl'] = 'Display lost password help to users who have lost their {$a} password. This will be displayed either as well as or instead of the <strong>Change Password URL</strong> or Internal Moodle password change.';
      39  $string['auth_changepasswordurl'] = 'Change password URL';
      40  $string['auth_changepasswordurl_expl'] = 'Specify the url to send users who have lost their {$a} password. Set <strong>Use standard Change Password page</strong> to <strong>No</strong>.';
      41  $string['auth_changingemailaddress'] = 'You have requested a change of email address, from {$a->oldemail} to {$a->newemail}. For security reasons, we are sending you an email message at the new address to confirm that it belongs to you. Your email address will be updated as soon as you open the URL sent to you in that message.';
      42  $string['authinstructions'] = 'Leave this blank for the default login instructions to be displayed on the login page. If you want to provide custom login instructions, enter them here.';
      43  $string['auth_invalidnewemailkey'] = 'Error: if you are trying to confirm a change of email address, you may have made a mistake in copying the URL we sent you by email. Please copy the address and try again.';
      44  $string['auth_multiplehosts'] = 'Multiple hosts OR addresses can be specified (eg;; or (eg;';
      45  $string['auth_notconfigured'] = 'The authentication method {$a} is not configured.';
      46  $string['auth_outofnewemailupdateattempts'] = 'You have run out of allowed attempts to update your email address. Your update request has been cancelled.';
      47  $string['auth_passwordisexpired'] = 'Your password has expired. Please change it now.';
      48  $string['auth_passwordwillexpire'] = 'Your password will expire in {$a} days. Do you want to change your password now?';
      49  $string['auth_remove_delete'] = 'Full delete internal';
      50  $string['auth_remove_keep'] = 'Keep internal';
      51  $string['auth_remove_suspend'] = 'Suspend internal';
      52  $string['auth_remove_user'] = 'Specify what to do with internal user account during mass synchronisation when user was removed from external source. Only suspended users are automatically restored if they reappear in the external source.';
      53  $string['auth_remove_user_key'] = 'Removed ext user';
      54  $string['auth_sync_suspended']  = 'If enabled, the suspended attribute will be used to update the local user account\'s suspension status.';
      55  $string['auth_sync_suspended_key'] = 'Synchronise local user suspension status';
      56  $string['auth_sync_script'] = 'User account synchronisation';
      57  $string['auth_updatelocal'] = 'Update local';
      58  $string['auth_updatelocalfield'] = 'Update local ({$a})';
      59  $string['auth_updatelocal_expl'] = '<p><b>Update local:</b> If enabled, the field will be updated (from external auth) every time the user logs in or there is a user synchronisation. Fields set to update locally should be locked.</p>';
      60  $string['auth_updateremote'] = 'Update external';
      61  $string['auth_updateremotefield'] = 'Update external ({$a})';
      62  $string['auth_updateremote_expl'] = '<p><b>Update external:</b> If enabled, the external auth will be updated when the user record is updated. Fields should be unlocked to allow edits.</p>';
      63  $string['auth_updateremote_ldap'] = '<p><b>Note:</b> Updating external LDAP data requires that you set binddn and bindpw to a bind-user with editing privileges to all the user records. It currently does not preserve multi-valued attributes, and will remove extra values on update. </p>';
      64  $string['auth_user_create'] = 'Enable user creation';
      65  $string['auth_user_creation'] = 'New (anonymous) users can create user accounts on the external authentication source and confirmed via email. If you enable this , remember to also configure module-specific options for user creation.';
      66  $string['auth_usernameexists'] = 'Selected username already exists. Please choose a new one.';
      67  $string['auth_usernotexist'] = 'Cannot update non-existent user: {$a}';
      68  $string['auto_add_remote_users'] = 'Auto add remote users';
      69  $string['cannotmapfield'] = 'The field "{$a->fieldname}" can\'t be mapped because its short name "{$a->shortname}" is too long. To allow it to be mapped, you need to reduce the short name to {$a->charlimit} characters. <a href="{$a->link}">Edit user profile fields</a>';
      70  $string['createpassword'] = 'Generate password and notify user';
      71  $string['createpasswordifneeded'] = 'Create password if needed and send via email';
      72  $string['emailchangecancel'] = 'Cancel email change';
      73  $string['emailchangepending'] = 'Change pending. Open the link sent to you at {$a->preference_newemail}.';
      74  $string['emailnowexists'] = 'The email address you tried to assign to your profile has been assigned to someone else since your original request. Your request for change of email address is hereby cancelled, but you may try again with a different address.';
      75  $string['emailupdate'] = 'Email address update';
      76  $string['emailupdatemessage'] = 'Dear {$a->fullname},
      78  You have requested a change of your email address for your account on {$a->site}. To confirm this change, please go to the following web address:
      80  {$a->url}
      82  {$a->supportemail}';
      83  $string['emailupdatesuccess'] = 'Email address of user <em>{$a->fullname}</em> was successfully updated to <em>{$a->email}</em>.';
      84  $string['emailupdatetitle'] = 'Confirmation of email update at {$a->site}';
      85  $string['errormaxconsecutiveidentchars'] = 'Passwords must have at most {$a} consecutive identical characters.';
      86  $string['errorminpassworddigits'] = 'Passwords must have at least {$a} digit(s).';
      87  $string['errorminpasswordlength'] = 'Passwords must be at least {$a} characters long.';
      88  $string['errorminpasswordlower'] = 'Passwords must have at least {$a} lower case letter(s).';
      89  $string['errorminpasswordnonalphanum'] = 'The password must have at least {$a} special character(s) such as as *, -, or #.';
      90  $string['errorpasswordreused'] = 'This password has been used before, and is not permitted to be reused';
      91  $string['errorminpasswordupper'] = 'Passwords must have at least {$a} upper case letter(s).';
      92  $string['errorpasswordupdate'] = 'Error updating password, password not changed';
      93  $string['eventuserloggedin'] = 'User has logged in';
      94  $string['eventuserloggedinas'] = 'User logged in as another user';
      95  $string['eventuserloginfailed'] = 'User login failed';
      96  $string['forcechangepassword'] = 'Force change password';
      97  $string['forcechangepasswordfirst_help'] = 'Force users to change password on their first login to Moodle.';
      98  $string['forcechangepassword_help'] = 'Force users to change password on their next login to Moodle.';
      99  $string['forgottenpassword'] = 'If you enter a URL here, it will be used as the lost password recovery page for this site. This is intended for sites where passwords are handled entirely outside of Moodle. Leave this blank to use the default password recovery.';
     100  $string['forgottenpasswordurl'] = 'Forgotten password URL';
     101  $string['getrecaptchaapi'] = 'To use reCAPTCHA you must get an API key from <a href=\'\'></a>';
     102  $string['guestloginbutton'] = 'Guest login button';
     103  $string['changepassword'] = 'Change password URL';
     104  $string['changepasswordhelp'] = 'URL of lost password recovery page, which will be sent to users in an email. Note that this setting will have no effect if a forgotten password URL is set in the authentication common settings.';
     105  $string['chooseauthmethod'] = 'Choose an authentication method';
     106  $string['chooseauthmethod_help'] = 'This setting determines the authentication method used when the user logs in. Only enabled authentication plugins should be chosen, otherwise the user will no longer be able to log in. To block the user from logging in, select "No login".';
     107  $string['incorrectpleasetryagain'] = 'Incorrect. Please try again.';
     108  $string['infilefield'] = 'Field required in file';
     109  $string['informminpassworddigits'] = 'at least {$a} digit(s)';
     110  $string['informminpasswordlength'] = 'at least {$a} characters';
     111  $string['informminpasswordlower'] = 'at least {$a} lower case letter(s)';
     112  $string['informminpasswordnonalphanum'] = 'at least {$a} special character(s) such as as *, -, or #';
     113  $string['informminpasswordreuselimit'] = 'Passwords can be reused after {$a} changes';
     114  $string['informminpasswordupper'] = 'at least {$a} upper case letter(s)';
     115  $string['informpasswordpolicy'] = 'The password must have {$a}';
     116  $string['instructions'] = 'Instructions';
     117  $string['internal'] = 'Internal';
     118  $string['limitconcurrentlogins'] = 'Limit concurrent logins';
     119  $string['limitconcurrentlogins_desc'] = 'If enabled the number of concurrent browser logins for each user is restricted. The oldest session is terminated after reaching the limit, please note that users may lose all unsaved work. This setting is not compatible with single sign-on (SSO) authentication plugins.';
     120  $string['locked'] = 'Locked';
     121  $string['authloginviaemail'] = 'Allow log in via email';
     122  $string['authloginviaemail_desc'] = 'Allow users to use both username and email address (if unique) for site login.';
     123  $string['allowaccountssameemail'] = 'Allow accounts with same email';
     124  $string['allowaccountssameemail_desc'] = 'If enabled, more than one user account can share the same email address. This may result in security or privacy issues, for example with the password change confirmation email.';
     125  $string['md5'] = 'MD5 hash';
     126  $string['nopasswordchange'] = 'Password can not be changed';
     127  $string['nopasswordchangeforced'] = 'You cannot proceed without changing your password, however there is no available page for changing it. Please contact your Moodle Administrator.';
     128  $string['noprofileedit'] = 'Profile can not be edited';
     129  $string['ntlmsso_attempting'] = 'Attempting Single Sign On via NTLM...';
     130  $string['ntlmsso_failed'] = 'Auto-login failed, try the normal login page...';
     131  $string['ntlmsso_isdisabled'] = 'NTLM SSO is disabled.';
     132  $string['passwordhandling'] = 'Password field handling';
     133  $string['plaintext'] = 'Plain text';
     134  $string['pluginnotenabled'] = 'Authentication plugin \'{$a}\' is not enabled.';
     135  $string['pluginnotinstalled'] = 'Authentication plugin \'{$a}\' is not installed.';
     136  $string['privacy:metadata:userpref:createpassword'] = 'Indicates that a password should be generated for the user';
     137  $string['privacy:metadata:userpref:forcepasswordchange'] = 'Indicates whether the user should change their password upon logging in';
     138  $string['privacy:metadata:userpref:loginfailedcount'] = 'The number of times the user failed to log in';
     139  $string['privacy:metadata:userpref:loginfailedcountsincesuccess'] = 'The number of times the user failed to login since their last successful login';
     140  $string['privacy:metadata:userpref:loginfailedlast'] = 'The date when the last failed login attempt was recorded';
     141  $string['privacy:metadata:userpref:loginlockout'] = 'Whether the user\'s account is locked due to failed login attempts, and the date when the account was locked';
     142  $string['privacy:metadata:userpref:loginlockoutignored'] = 'Indicates that a user\'s account should never be subject to lockouts';
     143  $string['privacy:metadata:userpref:loginlockoutsecret'] = 'When locked, the secret the user must use for unlocking their account';
     144  $string['potentialidps'] = 'Log in using your account on:';
     145  $string['recaptcha'] = 'reCAPTCHA';
     146  $string['recaptcha_help'] = 'The CAPTCHA is for preventing abuse from automated programs. Follow the instructions to verify you are a person. This could be a box to check, characters presented in an image you must enter or a set of images to select from.
     148  If you are not sure what the images are, you can try getting another CAPTCHA or an audio CAPTCHA.';
     149  $string['recaptcha_link'] = 'auth/email';
     150  $string['security_question'] = 'Security question';
     151  $string['selfregistration'] = 'Self registration';
     152  $string['selfregistration_help'] = 'If an authentication plugin, such as email-based self-registration, is selected, then it enables potential users to register themselves and create accounts. This results in the possibility of spammers creating accounts in order to use forum posts, blog entries etc. for spam. To avoid this risk, self-registration should be disabled or limited by <em>Allowed email domains</em> setting.';
     153  $string['settingmigrationmismatch'] = 'Values mismatch detected while correcting the plugin setting names! The authentication plugin \'{$a->plugin}\' had the setting \'{$a->setting}\' configured to \'{$a->legacy}\' under the legacy name and to \'{$a->current}\' under the current name. The latter value has been set as the valid one but you should check and confirm that it is expected.';
     154  $string['sha1'] = 'SHA-1 hash';
     155  $string['showguestlogin'] = 'You can hide or show the guest login button on the login page.';
     156  $string['stdchangepassword'] = 'Use standard page for changing password';
     157  $string['stdchangepassword_expl'] = 'If the external authentication system allows password changes through Moodle, switch this to Yes. This setting overrides \'Change Password URL\'.';
     158  $string['stdchangepassword_explldap'] = 'NOTE: It is recommended that you use LDAP over an SSL encrypted tunnel (ldaps://) if the LDAP server is remote.';
     159  $string['suspended'] = 'Suspended account';
     160  $string['suspended_help'] = 'Suspended user accounts cannot log in or use web services, and any outgoing messages are discarded.';
     161  $string['testsettings'] = 'Test settings';
     162  $string['testsettingsheading'] = 'Test authentication settings - {$a}';
     163  $string['unlocked'] = 'Unlocked';
     164  $string['unlockedifempty'] = 'Unlocked if empty';
     165  $string['update_never'] = 'Never';
     166  $string['update_oncreate'] = 'On creation';
     167  $string['update_onlogin'] = 'On every login';
     168  $string['update_onupdate'] = 'On update';
     169  $string['user_activatenotsupportusertype'] = 'auth: ldap user_activate() does not support selected usertype: {$a}';
     170  $string['user_disablenotsupportusertype'] = 'auth: ldap user_disable() does not support selected usertype (..yet)';
     171  $string['username'] = 'Username';
     172  $string['username_help'] = 'Please be aware that some authentication plugins will not allow you to change the username.';