fix sciter login handling, and remove ab tag border

This commit is contained in:
rustdesk
2023-06-21 18:39:26 +08:00
parent eb686e2728
commit c4c31f2d03
2 changed files with 4 additions and 2 deletions

View File

@@ -1292,6 +1292,9 @@ function refreshCurrentUser() {
app.update();
httpRequest(handler.get_api_server() + "/api/currentUser", #post, {id: my_id, uuid: handler.get_uuid()}, function(data) {
if (data.error) {
if (data.error == 'Invalid token') {
reset_token();
}
handleAbError(data.error);
return;
}