temporary add the refresh token on interceptor

This commit is contained in:
Eudes Inácio
2023-11-30 07:55:27 +01:00
parent c2a65c76d0
commit c978447eb1
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -90,7 +90,8 @@ export class TokenInterceptor implements HttpInterceptor {
}), }),
catchError((error) => { catchError((error) => {
/* this.logoutUser(); */ SessionStore.user.Authorization = "";
SessionStore.user.RefreshToken = "";
return of(false); return of(false);
}) })
); );
@@ -16,7 +16,7 @@
<div class="main-content"> <div class="main-content">
<div class="ion-item-container" [class.input-error]="Form?.get('Subject')?.invalid && validateFrom "> <div class="ion-item-container" [class.input-error]="Form?.get('Subject')?.invalid && validateFrom ">
<ion-input autocomplete="on" autocorrect="on" spellcheck="true" type="text" placeholder="Assunto*" [(ngModel)]="postEvent.Subject"></ion-input> <ion-input autocomplete="on" autocorrect="on" spellcheck="true" placeholder="Assunto*" [(ngModel)]="postEvent.Subject"></ion-input>
</div> </div>
<div *ngIf="Form && validateFrom" > <div *ngIf="Form && validateFrom" >