aboutsummaryrefslogtreecommitdiff
path: root/frontend/changepassword.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/changepassword.php')
-rw-r--r--frontend/changepassword.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/changepassword.php b/frontend/changepassword.php
index 69ebfb2..bb726ce 100644
--- a/frontend/changepassword.php
+++ b/frontend/changepassword.php
@@ -4,7 +4,7 @@
/*
Cheetah News changepassword.php
- Copyright (C) 2005, 2006, 2010 Wojciech Polak.
+ Copyright (C) 2005, 2006, 2010, 2014 Wojciech Polak.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
@@ -105,7 +105,7 @@ else if (!empty ($hash))
$validPass = false;
if ($validPassLen && $validPass) {
- $db->query ("UPDATE user SET pass='".md5 ($pass).
+ $db->query ("UPDATE user SET pass='".make_password ($pass).
"', failogCount=0 WHERE email='".$email."'");
$db->query ("DELETE FROM forgotpassword WHERE email='".$email."'");
$message = _('Your password has been successfully changed.');

Return to:

Send suggestions and report system problems to the System administrator.