Skip to content

Commit

Permalink
Updated save method
Browse files Browse the repository at this point in the history
  • Loading branch information
omnilight committed May 26, 2015
1 parent aac4890 commit b7d957b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Token.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public static function create($type, $name, $algorithm = null, $expire = null)
$token->expire_at = $expire;
}
$token->created_at = new Expression('NOW()');
$token->save();
$token->save(false);
return $token;
}

Expand Down

0 comments on commit b7d957b

Please sign in to comment.