fix setscope

Signed-off-by: Robin Appelman <icewind@owncloud.com>
pull/719/head
Robin Appelman 8 years ago committed by Robin Appelman
parent da63af8b02
commit 7e9e5db496
No known key found for this signature in database
GPG Key ID: 425003AC385454C5
  1. 4
      lib/private/Authentication/Token/DefaultToken.php

@ -163,9 +163,9 @@ class DefaultToken extends Entity implements IToken {
public function setScope($scope) {
if (is_string($scope)) {
$this->scope = $scope;
parent::setScope($scope);
} else {
return parent::setScope(json_encode($scope));
parent::setScope(json_encode($scope));
}
}
}

Loading…
Cancel
Save