File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import {
1313} from '@sunbird-cb/resolver'
1414import {
1515 // AuthKeycloakService,
16- AuthKeycloakService ,
16+ // AuthKeycloakService,
1717 // AuthKeycloakService,
1818 // AuthKeycloakService,
1919 ConfigurationsService ,
@@ -58,7 +58,7 @@ export class InitService {
5858 constructor (
5959 private logger : LoggerService ,
6060 private configSvc : ConfigurationsService ,
61- private authSvc : AuthKeycloakService ,
61+ // private authSvc: AuthKeycloakService,
6262 private widgetResolverService : WidgetResolverService ,
6363 private settingsSvc : BtnSettingsService ,
6464 private userPreference : UserPreferenceService ,
@@ -496,7 +496,8 @@ export class InitService {
496496 }
497497 localStorage . setItem ( 'login' , 'true' )
498498 } else {
499- this . authSvc . force_logout ( )
499+ // this.authSvc.force_logout()
500+ await this . http . get ( '/apis/reset' ) . toPromise ( )
500501 }
501502 const details = {
502503 group : [ ] ,
You can’t perform that action at this time.
0 commit comments