Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.1
-
None
Description
A bug in the shibboleth code can cause a user's full name info and email address to be changed if their uid equals the row id of another user. Here is the fix:
— web/.ht-inc/authmethods/shibauth.php (revision 903001)
+++ web/.ht-inc/authmethods/shibauth.php (working copy)
@@ -92,7 +92,7 @@
}
$query .= "emailnotices = 0, "
. "lastupdated = NOW() "
- . "WHERE uid = {$user['id']}";
+ . "WHERE id = {$user['id']}";
doQuery($query, 101, 'vcl', 1);
return $user;
}