correct login.php path
authorMarc Fiuczynski <mef@cs.princeton.edu>
Tue, 2 Jun 2009 13:05:04 +0000 (13:05 +0000)
committerMarc Fiuczynski <mef@cs.princeton.edu>
Tue, 2 Jun 2009 13:05:04 +0000 (13:05 +0000)
planetlab/includes/plc_login.php
planetlab/persons/reset_password.php

index db9440a..8b3eb2a 100644 (file)
@@ -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();
 }
 
index e8e8351..1a0b5b2 100644 (file)
@@ -22,7 +22,7 @@ if (!empty($_REQUEST['id']) && !empty($_REQUEST['key'])) {
   if ($adm->ResetPassword($person_id, $_REQUEST['key']) != 1) {
     print '<div class="messages error">' . $adm->error() . '.</div>';
   } else {
-    drupal_set_html_head("<meta http-equiv=\"refresh\" content=\"5; URL=/db/login.php\"");
+    drupal_set_html_head("<meta http-equiv=\"refresh\" content=\"5; URL=/db/common/login.php\"");
     print '<div class="messages status">';
     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 '<div class="messages error">' . $adm->error() . '.</div>';
   } else {
-    drupal_set_html_head("<meta http-equiv=\"refresh\" content=\"5; URL=/db/login.php\"");
+    drupal_set_html_head("<meta http-equiv=\"refresh\" content=\"5; URL=/db/common/login.php\"");
     print '<div class="messages status">';
     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.";