use trust setting in login to avoid overuse of 2-pass

This commit is contained in:
James Tomasino 2019-07-05 17:46:38 -04:00
parent df6f76fd8c
commit 790fee5e50
1 changed files with 1 additions and 1 deletions

2
lssh
View File

@ -106,7 +106,7 @@ main () {
# If not logged into lastpass, do so now
if ! lpass status -q; then
lpass login "${LASTPASS_USER}"
lpass login --trust "${LASTPASS_USER}"
fi
# Retrieve key from LastPass. If logged in but not recently authenticated