aboutsummaryrefslogtreecommitdiff
path: root/cli/create-user.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-07-22 20:05:36 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-07-22 20:05:36 +0200
commite046791c9330ee80580494b8fce3f5fc0bf08f98 (patch)
tree138fd1790fef6532594bc542091c1949be741f2f /cli/create-user.php
parentbf6dc46c644002dd195dfad18af9a1116a00fad4 (diff)
CLI update user
https://github.com/FreshRSS/FreshRSS/issues/1600 Not tested
Diffstat (limited to 'cli/create-user.php')
-rwxr-xr-xcli/create-user.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/create-user.php b/cli/create-user.php
index c9e350c14..0b131ac35 100755
--- a/cli/create-user.php
+++ b/cli/create-user.php
@@ -33,6 +33,7 @@ $ok = FreshRSS_user_Controller::createUser($username,
empty($options['api-password']) ? '' : $options['api-password'],
array(
'language' => empty($options['language']) ? '' : $options['language'],
+ 'mail_login' => empty($options['email']) ? '' : $options['email'],
'token' => empty($options['token']) ? '' : $options['token'],
),
!isset($options['no-default-feeds']));