diff options
author | isaacs <i@izs.me> | 2020-08-04 08:55:18 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2020-08-04 11:03:34 +0300 |
commit | 0b63d5078a5858b83dba943720c6d6dfe6eb808f (patch) | |
tree | ca53f0aa241bcb3d7a4fea32eb92bec6bd251d1a /lib/auth | |
parent | 5302cf3d24860283c6952fc6aa5611b95701cee3 (diff) |
Fix lingering figgy puddy in login
Diffstat (limited to 'lib/auth')
-rw-r--r-- | lib/auth/legacy.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/auth/legacy.js b/lib/auth/legacy.js index ebf526e48..c42ef16bb 100644 --- a/lib/auth/legacy.js +++ b/lib/auth/legacy.js @@ -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 = {} |