diff options
author | Joas Schilling <coding@schilljs.com> | 2020-06-23 21:18:38 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-06-23 21:18:38 +0300 |
commit | 6e46df26a8bc47c08ba622df07540d73cb8c7c1f (patch) | |
tree | b6f84792432e6d61d9c2b0ba643c2531c3a66bb3 /apps/settings/lib/Controller/ChangePasswordController.php | |
parent | ad0731a63c52ea07bff23eb72fc0479e2be76142 (diff) |
Unify settings middleware with others
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/settings/lib/Controller/ChangePasswordController.php')
-rw-r--r-- | apps/settings/lib/Controller/ChangePasswordController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/lib/Controller/ChangePasswordController.php b/apps/settings/lib/Controller/ChangePasswordController.php index e6567bf9043..3006e89318f 100644 --- a/apps/settings/lib/Controller/ChangePasswordController.php +++ b/apps/settings/lib/Controller/ChangePasswordController.php @@ -85,7 +85,7 @@ class ChangePasswordController extends Controller { /** * @NoAdminRequired - * @NoSubadminRequired + * @NoSubAdminRequired * @BruteForceProtection(action=changePersonalPassword) */ public function changePersonalPassword(string $oldpassword = '', string $newpassword = null): JSONResponse { |