info-library 2.10.35 → 2.10.36
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.
- package/bundles/info-library.umd.js +4 -2
- package/bundles/info-library.umd.js.map +1 -1
- package/bundles/info-library.umd.min.js +1 -1
- package/bundles/info-library.umd.min.js.map +1 -1
- package/esm2015/service/authentication.service.js +4 -3
- package/fesm2015/info-library.js +3 -2
- package/fesm2015/info-library.js.map +1 -1
- package/package.json +1 -1
- package/service/authentication.service.d.ts +1 -1
|
@@ -1633,13 +1633,15 @@
|
|
|
1633
1633
|
/**
|
|
1634
1634
|
* @param {?} usuario
|
|
1635
1635
|
* @param {?} senha
|
|
1636
|
+
* @param {?=} reCaptchaToken
|
|
1636
1637
|
* @return {?}
|
|
1637
1638
|
*/
|
|
1638
|
-
InfoAuthenticationService.prototype.login = function (usuario, senha) {
|
|
1639
|
+
InfoAuthenticationService.prototype.login = function (usuario, senha, reCaptchaToken) {
|
|
1639
1640
|
var _this = this;
|
|
1641
|
+
if (reCaptchaToken === void 0) { reCaptchaToken = null; }
|
|
1640
1642
|
this.removeSessao();
|
|
1641
1643
|
return this._http
|
|
1642
|
-
.post(this._plataforma.Config.webapiUrl + 'centrocontrole/usuario/autenticar', { Usuario: usuario, Senha: senha })
|
|
1644
|
+
.post(this._plataforma.Config.webapiUrl + 'centrocontrole/usuario/autenticar', { Usuario: usuario, Senha: senha, ReCaptchaToken: reCaptchaToken })
|
|
1643
1645
|
.pipe(operators.map(( /**
|
|
1644
1646
|
* @param {?} r
|
|
1645
1647
|
* @return {?}
|