summaryrefslogtreecommitdiffstats
path: root/settings/ajax/changepersonalpassword.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/ajax/changepersonalpassword.php')
-rw-r--r--settings/ajax/changepersonalpassword.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/settings/ajax/changepersonalpassword.php b/settings/ajax/changepersonalpassword.php
index 6c3f5d599ac..44ede3f9cc6 100644
--- a/settings/ajax/changepersonalpassword.php
+++ b/settings/ajax/changepersonalpassword.php
@@ -10,7 +10,6 @@ OC_App::loadApps();
$username = OC_User::getUser();
$password = isset($_POST['personal-password']) ? $_POST['personal-password'] : null;
$oldPassword = isset($_POST['oldpassword']) ? $_POST['oldpassword'] : '';
-$recoveryPassword = isset($_POST['recoveryPassword']) ? $_POST['recoveryPassword'] : null;
if (!OC_User::checkPassword($username, $oldPassword)) {
$l = new \OC_L10n('settings');