summaryrefslogtreecommitdiffstats
path: root/core/command/user/resetpassword.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/command/user/resetpassword.php')
-rw-r--r--core/command/user/resetpassword.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/command/user/resetpassword.php b/core/command/user/resetpassword.php
index 7c405592114..3e4b41c0a43 100644
--- a/core/command/user/resetpassword.php
+++ b/core/command/user/resetpassword.php
@@ -78,7 +78,7 @@ class ResetPassword extends Command {
/** @var $dialog \Symfony\Component\Console\Helper\DialogHelper */
$dialog = $this->getHelperSet()->get('dialog');
- if (\OCP\App::isEnabled('files_encryption')) {
+ if (\OCP\App::isEnabled('encryption')) {
$output->writeln(
'<error>Warning: Resetting the password when using encryption will result in data loss!</error>'
);