mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-08 09:43:42 +01:00
Remove artificial limit on name length (#14)
This commit is contained in:
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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user