mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
Improve validation
This commit is contained in:
@@ -28,9 +28,7 @@ export class AuthService {
|
||||
public alertController: AlertController,
|
||||
) {
|
||||
|
||||
if(window.location.pathname != '' && !localStorage.getItem('UserData')) {
|
||||
this.router.navigate(['/']);
|
||||
}
|
||||
|
||||
|
||||
this.headers = new HttpHeaders();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user