Skip to content

Commit

Permalink
Fix lingering figgy puddy in login
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Aug 4, 2020
1 parent cc0a13d commit f19d1f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/auth/legacy.js
Expand Up @@ -52,7 +52,7 @@ function login (opts) {
).then(otp => {
const u = opts.creds.username
const p = opts.creds.password
return profile.loginCouch(u, p, opts.concat({ otp }))
return profile.loginCouch(u, p, { ...opts, otp })
})
}).then((result) => {
const newCreds = {}
Expand Down

0 comments on commit f19d1f7

Please sign in to comment.