may retry when auto login failed (#808)

This commit is contained in:
an-lee
2024-07-15 15:39:42 +08:00
committed by GitHub
parent c21f33af22
commit 898bd7b162
4 changed files with 86 additions and 4 deletions

View File

@@ -128,8 +128,6 @@ export const AppSettingsProvider = ({
client.me().then((user) => {
if (user?.id) {
login(Object.assign({}, currentUser, user));
} else {
logout();
}
});
};