Permalink
Browse files

bugfix - default config didn't pull login_hash from session

  • Loading branch information...
subliminal committed Mar 19, 2012
1 parent cc95d12 commit 76353014a2ee1b81d4b6d112d7a2b8e7c9804b5d
Showing with 2 additions and 2 deletions.
  1. +1 −1 classes/auth/login/mongoauth.php
  2. +1 −1 config/mongoauth.php
@@ -520,7 +520,7 @@ public function get_user_id()
return false;
}
- return array($this->id, (int) $this->user['_id']->{'$id'});
+ return array($this->id, $this->user['_id']->{'$id'});
}
/**
View
@@ -46,7 +46,7 @@
*
*/
'fields' => array(
- 'email', 'password', 'salt'
+ 'email', 'password', 'salt', 'login_hash'
),
/**

0 comments on commit 7635301

Please sign in to comment.