mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 06:26:14 -05:00
fix: saved credentials not working
This commit is contained in:
2 files changed
+15
-5
No files matched your search
@@ -196,11 +196,7 @@ impl Credential {
|
||||
),
|
||||
// Use the empty string as the password if auth_cookie is present
|
||||
Credential::Cached(cred) => (
|
||||
if cred.auth_cookie.is_some() {
|
||||
None
|
||||
} else {
|
||||
cred.password()
|
||||
},
|
||||
cred.password(),
|
||||
None,
|
||||
cred.auth_cookie.as_ref().map(|c| c.user_auth_cookie()),
|
||||
cred.auth_cookie.as_ref().map(|c| c.prelogon_user_auth_cookie()),
|
||||
|
||||
Reference in new issue
Block a user