Improve error message when not including name setting up TOTP

The error thrown if a user skips providing a name to the TOTP authenticator isn’t ideal.

4 « J'aime »

Oh that’s not good, we should fix that @eviltrout

2 « J'aime »

@martin can take this tomorrow, should only take a few minutes and we can backport to stable with our patch release

6 « J'aime »

Fix is building now, will close this off once merged FIX: Show a nicer error if name/code missing for TOTP/Security Keys by martin-brennan · Pull Request #9124 · discourse/discourse · GitHub

4 « J'aime »