fix #113: increased max password length

0198828ca7 missed a couple places to increase the max password length
This commit is contained in:
Steven MacLeod 2016-05-21 14:13:18 -04:00
parent 0198828ca7
commit 3fd7e9de9f
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ var kdbxweb = require('kdbxweb');
var SecureInput = function() {
this.el = null;
this.minChar = 0x1400 + Math.round(Math.random() * 100);
this.maxLen = 128;
this.maxLen = 1024;
this.length = 0;
this.pseudoValue = '';
this.salt = new Uint32Array(0);

View File

@ -5,7 +5,7 @@
<div class="key-change__message">{{res 'keyChangeMessage'}}:</div>
<div class="key-change__input">
<input class="key-change__file hide-by-pos" type="file" />
<input class="key-change__pass" type="password" size="30" autocomplete="off" maxlength="128" autofocus />
<input class="key-change__pass" type="password" size="30" autocomplete="off" maxlength="1024" autofocus />
<div class="key-change__keyfile">
<i class="fa fa-key"></i> {{res 'openKeyFile'}}<span class="key-change__keyfile-name"></span>
</div>