Skip to content

Commit

Permalink
fix(2FA): send sms code through API
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonny committed Feb 16, 2015
1 parent e4927b3 commit b5d41eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hubpress/scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3569,6 +3569,8 @@ AuthServices.prototype.login = function (credentials) {
}

if (otpRequired) {
// for sms with a post on auth
_createAuthorization(authorization);
console.log("AuthServices - OTP required : ", otpRequired);
message.type = "warning";
message.content = "A two-factor authentication code is needed.";
Expand Down

0 comments on commit b5d41eb

Please sign in to comment.