Skip to content
Snippets Groups Projects
Commit 1cc5a8a8 authored by Hugo Leonardo's avatar Hugo Leonardo
Browse files

Alterando a redefinição de senha para a API antiga provisoriamente até definir como será a nova API

parent 09b0f1a9
No related branches found
No related tags found
1 merge request!1v1
...@@ -55,7 +55,7 @@ export class LoginComponent extends BaseUnsubscribe implements OnInit { ...@@ -55,7 +55,7 @@ export class LoginComponent extends BaseUnsubscribe implements OnInit {
if (this.userCredencialIsValid()) { if (this.userCredencialIsValid()) {
const options = this.httpService.getRequestOptionsWithSearchParams(new Map<string, string>([['origin', 'SimCAQ'], ['email', this.userCredential.email]])); const options = this.httpService.getRequestOptionsWithSearchParams(new Map<string, string>([['origin', 'SimCAQ'], ['email', this.userCredential.email]]));
this.httpService.get<any>(`${this.httpService.apiEndpointDadosEducacionaisV1}/user/reset/password`, options).pipe( this.httpService.get<any>(`${this.httpService.apiEndpointV1}/user/reset/password`, options).pipe(
takeUntil(this.unsubscribe)) takeUntil(this.unsubscribe))
.subscribe( .subscribe(
(retorno) => { (retorno) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment