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

@ -371,7 +371,6 @@ menu li.line-through, menu li.line-through :hover {
}
#tags {
border: color(border) 1px solid;
size: *;
padding: 0.5em;
overflow-y: scroll-indicator;
@ -380,8 +379,8 @@ menu li.line-through, menu li.line-through :hover {
}
#tags span {
background: color(gray-bg);
display: inline-block;
border: color(border) 1px solid;
border-radius: 6px;
padding: 3px 0.5em;
word-wrap: normal;

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;
}