mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
Remove artificial limit on name length (#14)
This commit is contained in:
committed by
Kyle Spearrin
parent
dcef50bd8f
commit
6f3806845d
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user