Fix build

This commit is contained in:
Jeff Mitchell 2018-10-27 14:06:20 -04:00
parent 45f80ee028
commit 19878efdf1

View File

@ -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