Remove artificial limit on name length (#14)

This commit is contained in:
ServiusHack 2018-10-09 21:40:06 +02:00 committed by Kyle Spearrin
parent dcef50bd8f
commit 6f3806845d
1 changed files with 0 additions and 3 deletions

View File

@ -20,9 +20,6 @@ export class PassmanJsonImporter extends BaseImporter implements Importer {
const cipher = this.initLoginCipher(); const cipher = this.initLoginCipher();
cipher.name = credential.label; cipher.name = credential.label;
if (cipher.name != null && cipher.name.length > 30) {
cipher.name = cipher.name.substring(0, 30);
}
cipher.login.username = this.getValueOrDefault(credential.username); cipher.login.username = this.getValueOrDefault(credential.username);
if (this.isNullOrWhitespace(cipher.login.username)) { if (this.isNullOrWhitespace(cipher.login.username)) {