From a9c21b3a1f275af10b0f6ca1388d35c06ee6f3ba Mon Sep 17 00:00:00 2001 From: Marc Fiuczynski Date: Tue, 2 Jun 2009 13:05:04 +0000 Subject: [PATCH] correct login.php path --- planetlab/includes/plc_login.php | 2 +- planetlab/persons/reset_password.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/planetlab/includes/plc_login.php b/planetlab/includes/plc_login.php index db9440a..8b3eb2a 100644 --- a/planetlab/includes/plc_login.php +++ b/planetlab/includes/plc_login.php @@ -20,7 +20,7 @@ if (!$plc->person) { $url .= "?" . $_SERVER['QUERY_STRING']; } - Header("Location: /db/login.php?url=" . urlencode($url)); + Header("Location: /db/common/login.php?url=" . urlencode($url)); exit(); } diff --git a/planetlab/persons/reset_password.php b/planetlab/persons/reset_password.php index e8e8351..1a0b5b2 100644 --- a/planetlab/persons/reset_password.php +++ b/planetlab/persons/reset_password.php @@ -22,7 +22,7 @@ if (!empty($_REQUEST['id']) && !empty($_REQUEST['key'])) { if ($adm->ResetPassword($person_id, $_REQUEST['key']) != 1) { print '
' . $adm->error() . '.
'; } else { - drupal_set_html_head("'; print "An e-mail has been sent to you with your new temporary password. "; print "Please change this password as soon as possible. "; @@ -33,7 +33,7 @@ if (!empty($_REQUEST['id']) && !empty($_REQUEST['key'])) { if ($adm->ResetPassword($_REQUEST['email']) != 1) { print '
' . $adm->error() . '.
'; } else { - drupal_set_html_head("'; print "An e-mail has been sent to " . $_REQUEST['email'] . " with further instructions. "; print "You will be re-directed to the login page in 5 seconds."; -- 2.43.0