Skip to content
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.

Commit

Permalink
Undo auth patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristian Asenjo committed May 13, 2016
1 parent 5ddd3e4 commit b504c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SDK.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function __construct(\Moltin\SDK\StorageInterface $store, \Moltin\SDK\Req
public function authenticate(\Moltin\SDK\AuthenticateInterface $auth, $args = array())
{
// Skip active auth or refresh current
if ($this->expires > 0 and $this->expires > time() and false) {
if ($this->expires > 0 and $this->expires > time()) {
return true;
} else if ($this->expires > 0 and $this->expires < time() and $this->refresh !== null) {
return $this->refresh($args);
Expand Down

0 comments on commit b504c8f

Please sign in to comment.