CLI update user

https://github.com/FreshRSS/FreshRSS/issues/1600
Not tested
This commit is contained in:
Alexandre Alapetite
2017-07-22 20:05:36 +02:00
parent bf6dc46c64
commit e046791c93
4 changed files with 89 additions and 22 deletions

View File

@@ -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']));