Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
fix(auth): spelling error
Browse files Browse the repository at this point in the history
  • Loading branch information
jefflembeck committed Oct 4, 2017
1 parent 7dc14c8 commit fae3659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/auth/legacy.js
Expand Up @@ -25,7 +25,7 @@ module.exports.login = function login (creds, registry, scope, cb) {
return profile.adduser(username, email, password, {registry: registry})
}).catch((err) => {
if (err.code === 'EOTP' && !auth.otp) {
return read.otp('Authenicator provided OTP:').then((otp) => {
return read.otp('Authenticator provided OTP:').then((otp) => {
auth.otp = otp
return profile.login(username, password, {registry: registry, auth: auth})
})
Expand Down

0 comments on commit fae3659

Please sign in to comment.