mirror of
https://github.com/gravitational/teleport
synced 2024-10-21 17:53:28 +00:00
16a5c336ef
This is a collection of a few small changes related to user presentation of WebAuthn/MFA in tsh. The intent is to make tsh language match ongoing Web UI changes. * Make use of preferred MFA in `tsh mfa add` * Tweak prompt error message Old: ERROR: "U2F\n" is not a valid option, please specify one of [TOTP, WEBAUTHN] New: ERROR: "U2F" is not a valid option, please specify one of [TOTP, WEBAUTHN] * Directly mention WebAuthn when prompting for challenges * Fix typo on godoc * Print devices sorted by name on `tsh mfa ls` * Address origin validation TODOs For registration and a few other use cases the original error is relayed back to the client, so there is already a good indicator that it failed due to origin woes. For login we purposefully obsfucate errors. To address that I've added a few debug-level server-side log statements; it seems best to not make further changes in this case. * Amend preferred device type logic * Adjust PromptMFAChallenge message |
||
---|---|---|
.. | ||
tctl | ||
teleport | ||
tsh |