File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ export class AppComponent {
202
202
}
203
203
204
204
async getInfo ( ) {
205
- this . isLogged = await this . userService . handleIsLogged ( undefined , false ) ;
205
+ this . isLogged = await this . userService . handleIsLogged ( false ) ;
206
206
this . globaldata . auditModule = await this . settingsService . getGeneralSettings ( ) . toPromise ( ) ;
207
207
if ( this . isLogged && this . route . firstChild && this . route . firstChild . firstChild ) {
208
208
await this . getProjectInfo ( ) ;
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export class LoginGuard implements CanActivate {
12
12
) { }
13
13
14
14
async canActivate ( route : ActivatedRouteSnapshot , state : RouterStateSnapshot ) : Promise < boolean > {
15
- const isLogged = await this . userService . handleIsLogged ( undefined , false ) ;
15
+ const isLogged = await this . userService . handleIsLogged ( false ) ;
16
16
if ( isLogged ) {
17
17
this . router . navigate ( [ '/project' ] ) ;
18
18
}
You can’t perform that action at this time.
0 commit comments