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

Unified Diff: chrome/browser/chromeos/options/wifi_config_view.cc

Issue 10824131: Password length enforcement (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simpler fix Created 8 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/chromeos/options/wifi_config_view.cc
diff --git a/chrome/browser/chromeos/options/wifi_config_view.cc b/chrome/browser/chromeos/options/wifi_config_view.cc
index 16bb8e1f5c5c98872682aff23ca6f58fe495cd77..8fba87fb8d71637dbbc14e28d4d9a10045f89599 100644
--- a/chrome/browser/chromeos/options/wifi_config_view.cc
+++ b/chrome/browser/chromeos/options/wifi_config_view.cc
@@ -402,7 +402,7 @@ bool WifiConfigView::CanLogin() {
// If the network requires a passphrase, make sure it is the right length.
if (passphrase_textfield_ != NULL
- && PassphraseActive()
+ && passphrase_textfield_->enabled()
&& passphrase_textfield_->text().length() < kMinWirelessPasswordLen)
return false;
« 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