From f2192ab32d93386cfd812290912b8c07ca10a20c Mon Sep 17 00:00:00 2001 From: Chaoyi Zha Date: Sat, 8 Nov 2014 16:19:07 -0500 Subject: [PATCH] fix small pw change issue --- ucp-settingsp.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ucp-settingsp.php b/ucp-settingsp.php index d443774..b6fcd4a 100644 --- a/ucp-settingsp.php +++ b/ucp-settingsp.php @@ -28,19 +28,19 @@ if ($action == 'changepw') { $hpw = $fetch['password']; $islegit = $polrauth->processlogin($username, $currpw); if (!$islegit) { - die('Invalid current password. Forgot your password? Back'); + die('Invalid current password. Back'); } $sqr = "UPDATE auth SET password = '{$hashed}' WHERE `username`='{$username}';"; $res = $mysqli->query($sqr); if ($res) { require_once 'header.php'; - echo "Success! Back"; + echo "Success! Back"; require_once 'footer.php'; die(); } else { require_once 'header.php'; - echo "Error! Back"; + echo "Error! Back"; require_once 'footer.php'; die(); }