diff options
Diffstat (limited to 'central/trunk/changepassword.php')
| -rw-r--r-- | central/trunk/changepassword.php | 2 |
1 files changed, 1 insertions, 1 deletions
| diff --git a/central/trunk/changepassword.php b/central/trunk/changepassword.php index 81fc5a7..1b92666 100644 --- a/central/trunk/changepassword.php +++ b/central/trunk/changepassword.php | |||
| @@ -18,7 +18,7 @@ if (isset($_SESSION['username'])) | |||
| 18 | { | 18 | { |
| 19 | addError($numOfErrors, $errors, 'old', 'Old Password is a required field'); | 19 | addError($numOfErrors, $errors, 'old', 'Old Password is a required field'); |
| 20 | } else { | 20 | } else { |
| 21 | if (!instaDisc_verifyUser($_SESSION['username'], $_POST['old']) | 21 | if (!instaDisc_verifyUser($_SESSION['username'], $_POST['old'])) |
| 22 | { | 22 | { |
| 23 | addError($numOfErrors, $errors, 'old', 'Old password is not correct'); | 23 | addError($numOfErrors, $errors, 'old', 'Old password is not correct'); |
| 24 | } | 24 | } |
