Updating branch refs/heads/master
         to 8cbf9cdb28e0b9db4754a02dbdec0dc14ad60787 (commit)
       from 70ea361d291ee230cc04b44f40dc658aca016665 (commit)

commit 8cbf9cdb28e0b9db4754a02dbdec0dc14ad60787
Author: Nick Schermer <n...@xfce.org>
Date:   Tue Nov 16 23:22:58 2010 +0100

    Fix typo in update query.

 login.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/login.php b/login.php
index 83236c0..ab2826c 100644
--- a/login.php
+++ b/login.php
@@ -73,7 +73,7 @@ if (isset($_POST['form_sent']) && $action == 'in')
                if ($authorized && $update_db_password)
                {
                        // Replace the SMF password with an FluxBB password
-                       $db->query('UPDATE '.$db->prefix.'users SET 
password=\''.$form_password_hash.'\', salt=NULL WHERE id='.$cur_user['id']) 
+                       $db->query('UPDATE '.$db->prefix.'users SET 
password=\''.$form_password_hash.'\' WHERE id='.$cur_user['id']) 
                                or error('Unable to update user password', 
__FILE__, __LINE__, $db->error());
                }
        }
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to