summaryrefslogtreecommitdiff
path: root/cli/update-user.php
diff options
context:
space:
mode:
Diffstat (limited to 'cli/update-user.php')
-rwxr-xr-xcli/update-user.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/update-user.php b/cli/update-user.php
index 4529b8531..7eb3e81ff 100755
--- a/cli/update-user.php
+++ b/cli/update-user.php
@@ -7,7 +7,8 @@ $username = cliInitUser($options['user']);
echo 'FreshRSS updating user “', $username, "”…\n";
-$ok = FreshRSS_user_Controller::updateContextUser(
+$ok = FreshRSS_user_Controller::updateUser(
+ $username,
empty($options['password']) ? '' : $options['password'],
empty($options['api_password']) ? '' : $options['api_password'],
$values);