diff options
author | Allan Nordhøy <epost@anotheragency.no> | 2018-04-07 02:31:14 +0300 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-08-01 20:20:48 +0300 |
commit | 479400f535db040fc8acb7206dec32416872d04e (patch) | |
tree | 4965b61491221935a256db625986d291062f31e2 /lib | |
parent | 880502c3eeac80c442f3e437dcf7ea71e517259c (diff) |
Insufficient permissions
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Controller/SettingsController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Controller/SettingsController.php b/lib/Controller/SettingsController.php index 15b9970..bb8c0da 100644 --- a/lib/Controller/SettingsController.php +++ b/lib/Controller/SettingsController.php @@ -110,7 +110,7 @@ class SettingsController extends Controller { && !$this->groupManager->getSubAdmin()->isUserAccessible($currentUser, $user)) { return new JSONResponse( [ - 'message' => $this->l->t('Not enough permissions to impersonate user'), + 'message' => $this->l->t('Insufficient permissions to impersonate user'), ], Http::STATUS_FORBIDDEN ); @@ -123,7 +123,7 @@ class SettingsController extends Controller { if (!array_intersect($userGroups, $authorized)) { return new JSONResponse( [ - 'message' => $this->l->t('Not enough permissions to impersonate user'), + 'message' => $this->l->t('Insufficient permissions to impersonate user'), ], Http::STATUS_FORBIDDEN ); |