]> source.dussan.org Git - nextcloud-server.git/commitdiff
only check for recovery key if someone else than the user wants to change the password
authorBjörn Schießle <schiessle@owncloud.com>
Fri, 7 Jun 2013 18:17:48 +0000 (20:17 +0200)
committerBjörn Schießle <schiessle@owncloud.com>
Thu, 13 Jun 2013 12:02:19 +0000 (14:02 +0200)
Conflicts:

settings/ajax/changepassword.php

settings/ajax/changepassword.php

index 5bdc589da34023302b370963a9805733eac35be7..96a17c51b466ad7027a7b600fa2631315b65f729 100644 (file)
@@ -29,7 +29,7 @@ if (is_null($userstatus)) {
 }
 
 if (\OCP\App::isEnabled('files_encryption') && $userstatus !== 'user') {
-//handle the recovery case
+       //handle the recovery case
        $util = new \OCA\Encryption\Util(new \OC_FilesystemView('/'), $username);
        $recoveryAdminEnabled = OC_Appconfig::getValue('files_encryption', 'recoveryAdminEnabled');