Credential: Default do not save password

If user want to save password, click save and credential window won't appear again.
Do not remember password should be default option.
This commit is contained in:
gaotxg 2020-12-30 11:19:57 +08:00 committed by GitHub
parent c803ef24f8
commit a939d9997b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -742,7 +742,7 @@ DWORD APIENTRY NPAddConnection3(HWND hwndOwner,
DWORD AuthPackage, CredentialsKind;
WCHAR UserName[CREDUI_MAX_USERNAME_LENGTH + 1], Password[CREDUI_MAX_PASSWORD_LENGTH + 1];
#if defined(FSP_NP_CREDENTIAL_MANAGER)
BOOL Save = TRUE;
BOOL Save = FALSE;
#endif
//dwFlags |= CONNECT_INTERACTIVE | CONNECT_PROMPT; /* TESTING ONLY! */