Improve validation

This commit is contained in:
Peter Maquiran
2021-07-01 16:23:47 +01:00
parent bb3c408595
commit a67ad10afe
11 changed files with 257 additions and 88 deletions
+1 -3
View File
@@ -28,9 +28,7 @@ export class AuthService {
public alertController: AlertController,
) {
if(window.location.pathname != '' && !localStorage.getItem('UserData')) {
this.router.navigate(['/']);
}
this.headers = new HttpHeaders();