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

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,