This commit is contained in:
tiago.kayaya
2021-07-01 11:08:13 +01:00
8 changed files with 67 additions and 143 deletions
+4
View File
@@ -28,6 +28,10 @@ export class AuthService {
public alertController: AlertController,
) {
if(window.location.pathname != '' && !localStorage.getItem('UserData')) {
this.router.navigate(['/']);
}
this.headers = new HttpHeaders();
if (localStorage.getItem("user") != null) {