Skip to content

Commit

Permalink
Merge pull request #9 from srdjanmarjanovic/master
Browse files Browse the repository at this point in the history
Fix check in accordance with new Shepherd account class naming
  • Loading branch information
ilijastuden authored Feb 9, 2017
2 parents d98cf22 + b05056a commit 63401d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Authenticator/Cloud.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ private function loadAccountsAndUser()
foreach ($result['accounts'] as $account) {
$this->all_accounts[] = $account;

if ($account['class'] == 'FeatherApplicationInstance') {
if ($account['class'] == 'FeatherApplicationInstance' || $account['class'] == 'ActiveCollab\Shepherd\Model\Account\ActiveCollab\FeatherAccount') {
$account_id = (integer) $account['name'];

$this->accounts[$account_id] = [
Expand Down

0 comments on commit 63401d4

Please sign in to comment.