iits-consulting / otc-auth

Open Source CLI for the Open Telekom Cloud written in go.
GNU General Public License v3.0
44 stars 5 forks source link

Fix MFA validation #79

Closed Ninja243 closed 10 months ago

Ninja243 commented 10 months ago

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