summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/host_setup_dialog.js
diff options
context:
space:
mode:
authorjamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-29 00:28:09 +0000
committerjamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-29 00:28:09 +0000
commit90ed2d02cd11b44ce49a10997bb39fc6139a5b88 (patch)
tree82aa63ed598914eb98856bd08bd1d94dff9bb0dc /remoting/webapp/host_setup_dialog.js
parent0ce3e73704807ea6abef1830a8905fef18e14b89 (diff)
downloadchromium_src-90ed2d02cd11b44ce49a10997bb39fc6139a5b88.zip
chromium_src-90ed2d02cd11b44ce49a10997bb39fc6139a5b88.tar.gz
chromium_src-90ed2d02cd11b44ce49a10997bb39fc6139a5b88.tar.bz2
Increase PIN minimum length to six digits.
BUG=134525 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10676009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144844 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/webapp/host_setup_dialog.js')
-rw-r--r--remoting/webapp/host_setup_dialog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/webapp/host_setup_dialog.js b/remoting/webapp/host_setup_dialog.js
index c0e5ae2..8ba3be2 100644
--- a/remoting/webapp/host_setup_dialog.js
+++ b/remoting/webapp/host_setup_dialog.js
@@ -425,7 +425,7 @@ remoting.HostSetupDialog.prototype.prepareForPinEntry_ = function() {
* @return {boolean} Whether the PIN is valid.
*/
remoting.HostSetupDialog.validPin_ = function(pin) {
- if (pin.length < 4) {
+ if (pin.length < 6) {
return false;
}
for (var i = 0; i < pin.length; i++) {