bheisig / i-doit-cli

Access your CMDB on the command line interface
GNU Affero General Public License v3.0
13 stars 1 forks source link

idoitcli init --> api.username" is too short. #20

Closed cnu80 closed 5 years ago

cnu80 commented 5 years ago

Expected behavior

Some simple questions will be asked how to access your i-doit installation.

Actual behavior

One or more errors found in configuration settings: Configuration setting "api.username" is too short. Minimum length is 1 character(s). Configuration setting "api.password" is too short. Minimum length is 1 character(s). Cannot proceed unless you fix your configuration

Steps to reproduce the behavior

idoitcli init

Environment

OS: Fedora 29

Question Answer
idoitcli version 0.5
PHP version 7.2.11
i-doit version 1.11.1 pro
i-doit API add-on version 1.9.1
bheisig commented 5 years ago

Hi @cnu80

Thanks for your report! I can confirm this is a bug. It's already been fixed in the master branch, see commit 080b070. I plan to release a new version within the next weeks. In the meantime, please create a configuration file manually.

Ben

bheisig commented 5 years ago

This issue is fixed in version 0.6.