The rules set for validating cli args with Cobra were not correct. This PR removes the "required" flag on the username as the username should not be set when logging in with MFA (the user ID should be used instead). Custom validation has been added instead.
The rules set for validating cli args with Cobra were not correct. This PR removes the "required" flag on the username as the username should not be set when logging in with MFA (the user ID should be used instead). Custom validation has been added instead.
Closes https://github.com/iits-consulting/otc-auth/issues/78