aboutsummaryrefslogtreecommitdiff
path: root/cli/update-user.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-07-22 20:37:50 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-07-22 20:37:50 +0200
commita11517dc9a028d7f8be56680d07d49e0a6b4c551 (patch)
tree8d52eb40feb6a73fbf43b0f84d0c61aa031a80cc /cli/update-user.php
parente6fadbe58094dec2d085564dd67505c2cc2cd184 (diff)
updateContextUser typo
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(