diff --git a/local/o365/lang/en/local_o365.php b/local/o365/lang/en/local_o365.php index 3dbd88adb..39905ff16 100644 --- a/local/o365/lang/en/local_o365.php +++ b/local/o365/lang/en/local_o365.php @@ -45,7 +45,7 @@

Click here to read instructions on running the script.

When prompted, use the following link as the Moodle URL:

{$a}
'; $string['settings_setup_step1clientcreds'] = '
Once the script is successfully executed, copy the Application ID and Secret returned by the script into the OpenID Connect authentication plugin configuration page.'; -$string['settings_setup_step1_credentials_end'] = 'If you are unable to set up the Azure app via PowerShell, click here for manual setup instructions.'; +$string['settings_setup_step1_credentials_end'] = 'If you are unable to set up the Azure app via PowerShell, click here for manual setup instructions.'; $string['settings_setup_step1_continue'] = 'Once you have entered your Application ID and Key, click "Save changes" at the bottom of the page to continue.




'; $string['settings_setup_step1_existing_settings'] = '
Existing settings
'; $string['settings_setup_step2'] = 'Step 2/2: Admin consent & additional information'; diff --git a/local/o365/settings.php b/local/o365/settings.php index 1f5e4a393..93fd3840b 100644 --- a/local/o365/settings.php +++ b/local/o365/settings.php @@ -86,8 +86,8 @@ $configdesc = new lang_string('settings_setup_step1clientcreds', 'local_o365', $oidcconfigpageurl->out()); $settings->add(new admin_setting_heading('local_o365_setup_step1clientcreds', '', $configdesc)); - $configdesc = new lang_string('settings_setup_step1_credentials_end', 'local_o365', - (object)['oidcsettings' => $oidcconfigpageurl->out()]); + $manualconfigurl = 'https://docs.moodle.org/' . get_config('core', 'branch') . '/en/Microsoft_365'; + $configdesc = new lang_string('settings_setup_step1_credentials_end', 'local_o365', $manualconfigurl); $settings->add(new admin_setting_heading('local_o365_setup_step1_credentialsend', '', $configdesc)); if (auth_oidc_is_setup_complete()) {