AutolabJS / autolabcli

Command line client for AutolabJS
https://autolabjs.github.io
GNU General Public License v3.0
10 stars 10 forks source link

Trimming the input of whitespaces #111

Open mukkachaitanya opened 5 years ago

mukkachaitanya commented 5 years ago

Description

The inputs of the inquirer have not trimmed off the white spaces and are considered a part of the input.

Steps to Reproduce

Login using the autolabjs init command for a user say testuser:

  1. Login using username testuser ; logs in.
  2. Login using username testuser ; fails.

Expected behavior: The login must go thorugh by trimming off the whitespaces

Actual behavior: Outputs Invalid Username or Password.

prasadtalasila commented 5 years ago

@mukkachaitanya Good catch, but this is not a high priority at this point. Please let this issue simmer a bit and focus on other high priority points from the refactoring page.