aboutsummaryrefslogtreecommitdiff
path: root/cli/update-user.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-10-31 18:15:47 +0100
committerGravatar GitHub <noreply@github.com> 2019-10-31 18:15:47 +0100
commit3aa66f317b496ccd9a2df914bbc747c52081a7ad (patch)
tree6a3f3f74899801abdca00546e213dfdc141c53cf /cli/update-user.php
parent82611c9622ed23b0e9fcf5f9f651ddffa1fd7706 (diff)
parentfcae48f313d399050cb15f37a8a73ae52fc67796 (diff)
Merge pull request #2599 from FreshRSS/dev1.15.0
FreshRSS 1.15
Diffstat (limited to 'cli/update-user.php')
-rwxr-xr-xcli/update-user.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/update-user.php b/cli/update-user.php
index 7eb3e81ff..8067dadd3 100755
--- a/cli/update-user.php
+++ b/cli/update-user.php
@@ -9,6 +9,7 @@ echo 'FreshRSS updating user “', $username, "”…\n";
$ok = FreshRSS_user_Controller::updateUser(
$username,
+ empty($options['mail_login']) ? null : $options['mail_login'],
empty($options['password']) ? '' : $options['password'],
empty($options['api_password']) ? '' : $options['api_password'],
$values);