Skip to content

Commit

Permalink
fixing #2323
Browse files Browse the repository at this point in the history
  • Loading branch information
biakaveron authored and Woody Gilk committed Nov 22, 2009
1 parent 7e91cb4 commit 8dfabcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/kohana/auth/orm.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public function logout($destroy = FALSE, $logout_all = FALSE)
cookie::delete('authautologin');

// Clear the autologin token from the database
$token = ORM::factory('user_token', $token);
$token = ORM::factory('user_token', array('token' => $token));

if ($token->loaded() AND $logout_all)
{
Expand Down

0 comments on commit 8dfabcd

Please sign in to comment.