summaryrefslogtreecommitdiffstats
path: root/core/Controller/AppPasswordController.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-07-17 12:07:22 +0200
committerJoas Schilling <coding@schilljs.com>2023-07-17 12:09:47 +0200
commit0ea23b6ef0553c26c4a3322c89d73bfdf6560a2f (patch)
treeaa889e1c7dcf65c6bee7875e4e26907025cd53bb /core/Controller/AppPasswordController.php
parent31f07f31926a061268c28055dbde74f9dc058b6d (diff)
downloadnextcloud-server-0ea23b6ef0553c26c4a3322c89d73bfdf6560a2f.tar.gz
nextcloud-server-0ea23b6ef0553c26c4a3322c89d73bfdf6560a2f.zip
fix(core): Add password confirmation requirement for getapppassword
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/Controller/AppPasswordController.php')
-rw-r--r--core/Controller/AppPasswordController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Controller/AppPasswordController.php b/core/Controller/AppPasswordController.php
index 3f254f03370..c7ad89b108a 100644
--- a/core/Controller/AppPasswordController.php
+++ b/core/Controller/AppPasswordController.php
@@ -66,6 +66,7 @@ class AppPasswordController extends \OCP\AppFramework\OCSController {
/**
* @NoAdminRequired
+ * @PasswordConfirmationRequired
*
* @throws OCSForbiddenException
*/