summaryrefslogtreecommitdiffstats
path: root/settings/Controller
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-09-19 16:14:51 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-11-18 11:57:16 +0100
commit28ddf3abdbe481b8714bdd2bc9dad43c805680e4 (patch)
tree4a5533bd996b581216f8daaffe7fd0b8d38b2c1c /settings/Controller
parent827b6a610e877969f8b6ab294f71a27657788ef0 (diff)
downloadnextcloud-server-28ddf3abdbe481b8714bdd2bc9dad43c805680e4.tar.gz
nextcloud-server-28ddf3abdbe481b8714bdd2bc9dad43c805680e4.zip
Require password confirmation for changing the email
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'settings/Controller')
-rw-r--r--settings/Controller/UsersController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/Controller/UsersController.php b/settings/Controller/UsersController.php
index fde29de3598..4c732a94c9a 100644
--- a/settings/Controller/UsersController.php
+++ b/settings/Controller/UsersController.php
@@ -495,6 +495,7 @@ class UsersController extends Controller {
*
* @NoAdminRequired
* @NoSubadminRequired
+ * @PasswordConfirmationRequired
*
* @param string $id
* @param string $mailAddress