Missed an auxiliary table.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1831 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -136,7 +136,8 @@ public class UserRepository extends JORARepository
|
|||||||
public User loadUserBySession (String sessionKey)
|
public User loadUserBySession (String sessionKey)
|
||||||
throws PersistenceException
|
throws PersistenceException
|
||||||
{
|
{
|
||||||
User user = load(_utable, "where authcode = '" + sessionKey + "' AND " +
|
User user = load(_utable, "sessions",
|
||||||
|
"where authcode = '" + sessionKey + "' AND " +
|
||||||
"sessions.userId = users.userId");
|
"sessions.userId = users.userId");
|
||||||
if (user != null) {
|
if (user != null) {
|
||||||
user.setDirtyMask(_utable.getFieldMask());
|
user.setDirtyMask(_utable.getFieldMask());
|
||||||
|
|||||||
Reference in New Issue
Block a user