Skip to content

Commit

Permalink
Fix overlogging if autologin token is not validated by Mailer
Browse files Browse the repository at this point in the history
  • Loading branch information
rootpd committed Sep 24, 2020
1 parent 2aa6a4a commit 4a2a579
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Models/Api/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ public function checkAutologinToken($token)
return $data['email'];
}
return false;
} catch (ClientException $e) {
if ($e->getResponse()->getStatusCode() !== IResponse::S404_NOT_FOUND) {
Debugger::log($e);
}
return false;
} catch (\Exception $e) {
Debugger::log($e);
return false;
Expand Down

0 comments on commit 4a2a579

Please sign in to comment.