Commit b0f82e11 authored by harrym@chromium.org's avatar harrym@chromium.org

Password length enforcement


BUG=120608
TBR=sky@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10824131

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149785 0039d316-1c4b-4281-b951-d872f2087c98
parent f264e680
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment