We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba80a97 commit a9ff7a0Copy full SHA for a9ff7a0
1 file changed
autoload/pass/get.vim
@@ -109,6 +109,7 @@ function! pass#get#passphrase() abort
109
\ string(i + 1) . '/' .
110
\ string(g:pass_passphrase_verify_retry) . ']' .
111
\ ' abort'
112
+ " All failed, throw exception
113
throw 'vim-pss: passphrase verify all failed'
114
else
115
echo 'passphrase verify failed [' .
@@ -120,10 +121,8 @@ function! pass#get#passphrase() abort
120
121
endif
122
endfor
123
- if exists('s:_get_passphrase')
124
- return s:_get_passphrase()
125
- endif
126
- return ''
+ " Passed verification
+ return s:_get_passphrase()
127
endfunction
128
129
" path
0 commit comments