diff --git a/drupal/sites/default/boinc/modules/boincuser/includes/boincuser.forms.inc b/drupal/sites/default/boinc/modules/boincuser/includes/boincuser.forms.inc index 363d9c26a0..e93321c1c2 100644 --- a/drupal/sites/default/boinc/modules/boincuser/includes/boincuser.forms.inc +++ b/drupal/sites/default/boinc/modules/boincuser/includes/boincuser.forms.inc @@ -400,6 +400,9 @@ function boincuser_request_pass_validate($form, &$form_state) { * The definition of the authenticator login form. */ function boincuser_authloginform() { + $headers = apache_request_headers(); + $project_name = variable_get('site_name', 'einsteinathome.org'); + $project_domain = $headers['Host']; $form['heading'] = array( '#type' => 'markup', '#value' => '
' . bts("If you have run BOINC under the account, you can still access it. Here's how:") . '
' . '<account>' . "\n" . - ' <master_url>http://lhcathome.cern.ch/</master_url>' . "\n" . + " <master_url>http://{$project_domain}/</master_url>" . "\n" . ' <authenticator>8b8496fdd26df7dc0423ecd43c09a56b</authenticator>' . "\n" . - ' <project_name>lhcathome</project_name>' . "\n" . + " <project_name>{$project_name}</project_name>" . "\n" . ' ...' . "\n" . '</account>' . '' .