1
0

New experimental login hashing

This commit is contained in:
Garvin Hicking
2009-02-16 11:29:49 +00:00
parent 36fc968934
commit 8390f6fd42
11 changed files with 155 additions and 41 deletions

View File

@ -377,7 +377,7 @@ function serendipity_fetchUsers($user = '', $group = null, $is_count = false) {
if ($serendipity['dbType'] == 'postgres' ||
$serendipity['dbType'] == 'pdo-postgres') {
// Why does PostgreSQL keep doing this to us? :-)
$query_group = 'GROUP BY a.authorid, a.realname, a.username, a.password, a.mail_comments, a.mail_trackbacks, a.email, a.userlevel, a.right_publish';
$query_group = 'GROUP BY a.authorid, a.realname, a.username, a.password, a.hashtype, a.mail_comments, a.mail_trackbacks, a.email, a.userlevel, a.right_publish';
$query_distinct = 'DISTINCT';
} else {
$query_group = 'GROUP BY a.authorid';
@ -392,6 +392,7 @@ function serendipity_fetchUsers($user = '', $group = null, $is_count = false) {
a.realname,
a.username,
a.password,
a.hashtype,
a.mail_comments,
a.mail_trackbacks,
a.email,
@ -418,6 +419,7 @@ function serendipity_fetchUsers($user = '', $group = null, $is_count = false) {
a.realname,
a.username,
a.password,
a.hashtype,
a.mail_comments,
a.mail_trackbacks,
a.email,