1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 17:23:37 +00:00

FSescure-Importer: Add support for style = global (#578)

* Fescure-Importer: Add support for style = global

* Fix linting
This commit is contained in:
Daniel James Smith
2021-12-14 10:22:09 +01:00
committed by GitHub
parent f90b3456d5
commit 8644d84e68
2 changed files with 81 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ export class FSecureFskImporter extends BaseImporter implements Importer {
cipher.name = this.getValueOrDefault(value.service);
cipher.notes = this.getValueOrDefault(value.notes);
if (value.style === 'website') {
if (value.style === 'website' || value.style === 'globe') {
cipher.login.username = this.getValueOrDefault(value.username);
cipher.login.password = this.getValueOrDefault(value.password);
cipher.login.uris = this.makeUriArray(value.url);