diff options
author | jamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-18 18:49:40 +0000 |
---|---|---|
committer | jamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-18 18:49:40 +0000 |
commit | 0d514f81965f27087a2705314849bd4eb0384a90 (patch) | |
tree | c9ccef5a7a9d5b3cbf1e01f2d856c64c65371021 | |
parent | 142769e3e4cd5da5a81ab84ef8313715cee2e513 (diff) | |
download | chromium_src-0d514f81965f27087a2705314849bd4eb0384a90.zip chromium_src-0d514f81965f27087a2705314849bd4eb0384a90.tar.gz chromium_src-0d514f81965f27087a2705314849bd4eb0384a90.tar.bz2 |
Reduce PIN complexity requirements.
BUG=124032
TEST=Manual
Review URL: https://chromiumcodereview.appspot.com/10115039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132835 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | remoting/webapp/_locales/en/messages.json | 2 | ||||
-rw-r--r-- | remoting/webapp/host_setup_dialog.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/remoting/webapp/_locales/en/messages.json b/remoting/webapp/_locales/en/messages.json index 3082231..ef4cf95 100644 --- a/remoting/webapp/_locales/en/messages.json +++ b/remoting/webapp/_locales/en/messages.json @@ -311,7 +311,7 @@ "description": "Instructions shown below the access code when it is ready to be conveyed to the client." }, "INVALID_PIN": { - "message": "Please enter a PIN consisting of 6 or more digits.", + "message": "Please enter a PIN consisting of four or more digits.", "description": "An error message displayed if the user enters an invalid PIN while setting up a host." }, "IT2ME_FIRST_RUN": { diff --git a/remoting/webapp/host_setup_dialog.js b/remoting/webapp/host_setup_dialog.js index 8edafa1..bc44aaa 100644 --- a/remoting/webapp/host_setup_dialog.js +++ b/remoting/webapp/host_setup_dialog.js @@ -373,7 +373,7 @@ remoting.HostSetupDialog.prototype.prepareForPinEntry_ = function() { * @return {boolean} Whether the PIN is valid. */ remoting.HostSetupDialog.validPin_ = function(pin) { - if (pin.length < 6) { + if (pin.length < 4) { return false; } for (var i = 0; i < pin.length; i++) { |