From 75682f51904707549be85cd3d9739167c7ee4fe9 Mon Sep 17 00:00:00 2001 From: Stephen Soltesz Date: Fri, 6 May 2011 01:12:15 -0400 Subject: [PATCH] Remote refresh meta tag on final step, in favor of redirection after login --- planetlab/persons/reset_password.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/planetlab/persons/reset_password.php b/planetlab/persons/reset_password.php index 86eab54..99f5a61 100644 --- a/planetlab/persons/reset_password.php +++ b/planetlab/persons/reset_password.php @@ -24,8 +24,6 @@ if ( !$plc->person) { if ($adm->ResetPassword($person_id, $_REQUEST['key']) != 1) { print '
' . $adm->error() . '.
'; } else { - drupal_set_html_head("'; print "Success! We've sent you another e-mail with your new temporary password.
"; print "You can login using this temporaray password.
"; @@ -75,6 +73,7 @@ EOF; include 'plc_footer.php'; } else { + // Otherwise display the user's account page. Header("Location: /db/persons/index.php?id=" . $plc->person['person_id']); exit(); } -- 2.43.0