summaryrefslogtreecommitdiffstats
path: root/settings/Controller/AuthSettingsController.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-11-16 16:27:56 +0100
committerRobin Appelman <robin@icewind.nl>2016-11-16 19:14:36 +0100
commitd2dee32756f23024f8d2ebc0de8d3478dc784f41 (patch)
treeca1fc7dbc3e5e93f9d689c3f0315e24bd9d3ea45 /settings/Controller/AuthSettingsController.php
parent61453f5fd5eb3e742d1c757def36ce8f6be408f3 (diff)
downloadnextcloud-server-d2dee32756f23024f8d2ebc0de8d3478dc784f41.tar.gz
nextcloud-server-d2dee32756f23024f8d2ebc0de8d3478dc784f41.zip
fix warnings when updating app password
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'settings/Controller/AuthSettingsController.php')
-rw-r--r--settings/Controller/AuthSettingsController.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/settings/Controller/AuthSettingsController.php b/settings/Controller/AuthSettingsController.php
index 4e3d05a14e8..2a4b30dbd76 100644
--- a/settings/Controller/AuthSettingsController.php
+++ b/settings/Controller/AuthSettingsController.php
@@ -192,8 +192,7 @@ class AuthSettingsController extends Controller {
public function update($id, array $scope) {
$token = $this->tokenProvider->getTokenById($id);
$token->setScope([
- 'filesystem' => $scope['filesystem'],
- 'app' => array_values($scope['apps'])
+ 'filesystem' => $scope['filesystem']
]);
$this->tokenProvider->updateToken($token);
return [];