Skip to content

Commit

Permalink
Fix name extraction for linked accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
lhaeger committed Jan 28, 2022
1 parent d513b0d commit 6295661
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Binary file modified LastPass-Search.alfredworkflow
Binary file not shown.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Simple yet powerful integration with the Lastpass CLI so you can now get your passwords out of your Lastpass vault and straight into the clipboard from within Alfred.

## Current version: 1.5.1
## Current version: 1.5.2
Requires Alfred 3 or 4 and LastPass CLI v1.3 or higher

## Installation
Expand Down Expand Up @@ -38,6 +38,8 @@ Requires Alfred 3 or 4 and LastPass CLI v1.3 or higher

## History

* Version 1.5.2
1. Fix name extraction for linked accounts
* Version 1.5.1
1. Updated workflow icon
* Version 1.5.0
Expand Down
4 changes: 2 additions & 2 deletions workflow/info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ else {
my $id;
my $name;
my $username;
if ( $result =~ '^[\d -:]+(.*) +\[id: ([0-9]*)\] +\[username: (.*)\]' )
if ( $result =~ '^[\d -:]{17}(.*) +\[id: ([0-9]*)\] +\[username: (.*)\]' )
{
$name = "$1";
$id = "$2";
Expand Down Expand Up @@ -1221,7 +1221,7 @@ See installation instructions at https://github.com/lhaeger/lastpass-alfred-work
<key>variablesdontexport</key>
<array/>
<key>version</key>
<string>1.5.1</string>
<string>1.5.2</string>
<key>webaddress</key>
<string>https://github.com/lhaeger/lastpass-alfred-workflow</string>
</dict>
Expand Down

0 comments on commit 6295661

Please sign in to comment.