summaryrefslogtreecommitdiff
path: root/cli/update-user.php
diff options
context:
space:
mode:
Diffstat (limited to 'cli/update-user.php')
-rwxr-xr-xcli/update-user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/update-user.php b/cli/update-user.php
index 5f3335f2e..6b54f4038 100755
--- a/cli/update-user.php
+++ b/cli/update-user.php
@@ -30,7 +30,7 @@ function intParam($name) {
return isset($options[$name]) && ctype_digit($options[$name]) ? intval($options[$name]) : null;
}
-$ok = FreshRSS_user_Controller::updateContextUser($username,
+$ok = FreshRSS_user_Controller::updateContextUser(
empty($options['password']) ? '' : $options['password'],
empty($options['api-password']) ? '' : $options['api-password'],
array(