mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-23 19:51:09 +01:00
Fix build
This commit is contained in:
parent
45f80ee028
commit
19878efdf1
@ -65,7 +65,6 @@ func (b *backend) pathLogin(ctx context.Context, req *logical.Request, d *framew
|
|||||||
user, userError := b.user(ctx, req.Storage, username)
|
user, userError := b.user(ctx, req.Storage, username)
|
||||||
|
|
||||||
var userPassword []byte
|
var userPassword []byte
|
||||||
var err error
|
|
||||||
var legacyPassword bool
|
var legacyPassword bool
|
||||||
// If there was an error or it's nil, we fake a password for the bcrypt
|
// If there was an error or it's nil, we fake a password for the bcrypt
|
||||||
// check so as not to have a timing leak. Specifics of the underlying
|
// check so as not to have a timing leak. Specifics of the underlying
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user