Revert "Fix/mobile connection login state"

This commit is contained in:
RustDesk authored and GitHub committed 2023-06-23 18:25:42 +08:00
1 parent 74dc8536be
commit e30f09e7f7
13 files changed
+122 -170

No files matched your search

+1 -1
View File
@@ -216,7 +216,7 @@ impl OidcSession {
let query_timeout = OIDC_SESSION.read().unwrap().query_timeout;
while OIDC_SESSION.read().unwrap().keep_querying && begin.elapsed() < query_timeout {
match Self::query(&code_url.code, &id, &uuid) {
Ok(HbbHttpResponse::<_>::Data(auth_body)) => {
Ok(HbbHttpResponse::<_>::Data(mut auth_body)) => {
if remember_me {
LocalConfig::set_option(
"access_token".to_owned(),