diff options
Diffstat (limited to 'cli/update-user.php')
| -rwxr-xr-x | cli/update-user.php | 3 |
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); |
