mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-13 19:47:17 +00:00
simple refact, store user info
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
@@ -822,11 +822,7 @@ pub fn account_auth_cancel() {
|
||||
|
||||
#[cfg(feature = "flutter")]
|
||||
pub fn account_auth_result() -> String {
|
||||
let mut auth_result = account::OidcSession::get_result();
|
||||
if let Some(auth) = auth_result.auth_body.as_mut() {
|
||||
auth.user.ser_store_local = false;
|
||||
}
|
||||
serde_json::to_string(&auth_result).unwrap_or_default()
|
||||
serde_json::to_string(&account::OidcSession::get_result()).unwrap_or_default()
|
||||
}
|
||||
|
||||
#[cfg(feature = "flutter")]
|
||||
|
||||
Reference in New Issue
Block a user