aboutsummaryrefslogtreecommitdiffstats
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:12:35 +0200
commitfd73d5f6177081101aadaf1d803fab4873f5a621 (patch)
treef0d01a7f76dccacc6d4202d3315f6376ecfb3953
parent175faf283183e30702b4b989801c816879bd0774 (diff)
downloadnextcloud-server-fd73d5f6177081101aadaf1d803fab4873f5a621.tar.gz
nextcloud-server-fd73d5f6177081101aadaf1d803fab4873f5a621.zip
fix(core): Add password confirmation requirement for getapppassword
Signed-off-by: Joas Schilling <coding@schilljs.com>
-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
*/