Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1979)

Unified Diff: chrome/browser/password_manager/password_manager_util_win.cc

Issue 2196613002: Fix browser not revealing user password in some cases. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/password_manager_util_win.cc
diff --git a/chrome/browser/password_manager/password_manager_util_win.cc b/chrome/browser/password_manager/password_manager_util_win.cc
index 4fe6cca3ff2392920ef4c70cc050221065106079..af02107ae1277968ffbb3c00d8117e792e3fc6af 100644
--- a/chrome/browser/password_manager/password_manager_util_win.cc
+++ b/chrome/browser/password_manager/password_manager_util_win.cc
@@ -128,7 +128,7 @@ bool CheckBlankPasswordWithPrefs(const WCHAR* username,
DWORD logon_result = LogonUser(username,
L".",
L"",
- LOGON32_LOGON_NETWORK,
+ LOGON32_LOGON_INTERACTIVE,
LOGON32_PROVIDER_DEFAULT,
&handle);
@@ -304,7 +304,7 @@ bool AuthenticateUser(gfx::NativeWindow window) {
logon_result = LogonUser(username,
use_principalname ? NULL : L".",
password,
- LOGON32_LOGON_NETWORK,
+ LOGON32_LOGON_INTERACTIVE,
LOGON32_PROVIDER_DEFAULT,
&handle);
if (logon_result) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698