info-library 2.10.40 → 2.10.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1636,14 +1636,16 @@
1636
1636
  * @param {?} usuario
1637
1637
  * @param {?} senha
1638
1638
  * @param {?=} reCaptchaToken
1639
+ * @param {?=} codigo2FA
1639
1640
  * @return {?}
1640
1641
  */
1641
- InfoAuthenticationService.prototype.login = function (usuario, senha, reCaptchaToken) {
1642
+ InfoAuthenticationService.prototype.login = function (usuario, senha, reCaptchaToken, codigo2FA) {
1642
1643
  var _this = this;
1643
1644
  if (reCaptchaToken === void 0) { reCaptchaToken = null; }
1645
+ if (codigo2FA === void 0) { codigo2FA = null; }
1644
1646
  this.removeSessao();
1645
1647
  return this._http
1646
- .post(this._plataforma.Config.webapiUrl + 'centrocontrole/usuario/autenticar', { Usuario: usuario, Senha: senha, ReCaptchaToken: reCaptchaToken })
1648
+ .post(this._plataforma.Config.webapiUrl + 'centrocontrole/usuario/autenticar', { Usuario: usuario, Senha: senha, ReCaptchaToken: reCaptchaToken, Codigo2FA: codigo2FA })
1647
1649
  .pipe(operators.map(( /**
1648
1650
  * @param {?} r
1649
1651
  * @return {?}