X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=testing%2FMCTXWeb%2Fpublic_html%2Fusers%2Fforgot-password.php;h=77fec1399e28f3bde8df0186ec8000509fd3f647;hb=5303f53cb44fffd4c59890d3c333f74d7cd7cb4e;hp=fa68835804b1c59c6e8b382053bb08c2a50f442c;hpb=3dfde391486e81a357e08a24ccb7903c8adfa5aa;p=matches%2FMCTX3420.git diff --git a/testing/MCTXWeb/public_html/users/forgot-password.php b/testing/MCTXWeb/public_html/users/forgot-password.php index fa68835..77fec13 100644 --- a/testing/MCTXWeb/public_html/users/forgot-password.php +++ b/testing/MCTXWeb/public_html/users/forgot-password.php @@ -6,6 +6,7 @@ http://usercake.com require_once("models/config.php"); if (!securePage($_SERVER['PHP_SELF'])){die();} +if (isUserLoggedIn()){header("Location: index.php"); die();} //User has confirmed they want their password changed if(!empty($_GET["confirm"])) @@ -174,22 +175,13 @@ if(!empty($_POST)) } require_once("models/header.php"); -echo " - -
-
-
-

UserCake

-

Forgot Password

-
"; +startPage(); -include("left-nav.php"); +//echo notificationBlock($errors,$successes); echo " -
-
"; - -echo resultBlock($errors,$successes); +
+
Forgot password
"; echo "
@@ -205,13 +197,15 @@ echo "

-

+

"; +echo resultBlock($errors,$successes); + +echo "
-
-
- -"; +
"; + +finishPage(); ?>