feat: improve error handling of webauthn login (#3744)

This commit is contained in:
DacongDA 2025-04-24 01:11:24 +08:00 committed by GitHub
parent d3a5539dae
commit daa7b79915
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1070,6 +1070,8 @@ class LoginPage extends React.Component {
.catch(error => {
Setting.showMessage("error", `${i18next.t("general:Failed to connect to server")}${error}`);
});
}).catch(error => {
Setting.showMessage("error", `${error}`);
}).finally(() => {
this.setState({
loginLoading: false,