Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-06-23 21:18:38 +0300
committerJoas Schilling <coding@schilljs.com>2020-06-23 21:18:38 +0300
commit6e46df26a8bc47c08ba622df07540d73cb8c7c1f (patch)
treeb6f84792432e6d61d9c2b0ba643c2531c3a66bb3 /apps/settings/lib/Controller/ChangePasswordController.php
parentad0731a63c52ea07bff23eb72fc0479e2be76142 (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.php2
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 {