If the server returns an error when loading then no error is shown and the spinner just remains. E.g. if it sends a request to
/Security/changepassword/mfa/login/totp but that request returns <h1>429 - Too many requests</h1> (if you've hit the Security controller too much in a period), it has the console error SyntaxError: Unexpected token <.
Ideally this would display something to the user, even if it's "An error occurred, please refresh"
Using silverstripe/mfa:4.2.2
and silverstripe/totp-authenticator:4.1.1
If the server returns an error when loading then no error is shown and the spinner just remains. E.g. if it sends a request to
/Security/changepassword/mfa/login/totp
but that request returns<h1>429 - Too many requests</h1>
(if you've hit the Security controller too much in a period), it has the console errorSyntaxError: Unexpected token <
.Ideally this would display something to the user, even if it's "An error occurred, please refresh"
Using silverstripe/mfa:4.2.2 and silverstripe/totp-authenticator:4.1.1