Merge pull request #4838 from christianbeeznest/ofaj-20846-migration15

Migrations: Add link to go diagnostic after registration and logged - refs BT#20846
pull/4840/head
christianbeeznest 1 year ago committed by GitHub
commit 8d9485c86e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      public/main/auth/inscription.php

@ -1173,7 +1173,10 @@ if ($form->validate()) {
}
} else {
if (!empty($values['email'])) {
$linkDiagnostic = api_get_path(WEB_PATH).'main/search/search.php';
$textAfterRegistration .= '<p>'.get_lang('An e-mail has been sent to remind you of your login and password').'.</p>';
$diagnosticPath = '<a href="'.$linkDiagnostic.'">'.$linkDiagnostic.'</a>';
$textAfterRegistration .= '<p>'.get_lang('Welcome, please go to diagnostic at '). $diagnosticPath.'</p>';
}
if ($is_allowedCreateCourse) {

Loading…
Cancel
Save