diff options
Diffstat (limited to 'remoting')
-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++) { |