Browse Source

refactor(theme-basic): change redirect url after logout

pull/1600/head
mehmet-erim 7 years ago
parent
commit
c53db21120
  1. 2
      npm/ng-packs/packages/theme-basic/src/lib/components/layout-application/layout-application.component.ts

2
npm/ng-packs/packages/theme-basic/src/lib/components/layout-application/layout-application.component.ts

@ -153,7 +153,7 @@ export class LayoutApplicationComponent implements AfterViewInit, OnDestroy {
logout() {
this.oauthService.logOut();
this.store.dispatch(
new Navigate(['/account/login'], null, {
new Navigate(['/'], null, {
state: { redirectUrl: this.store.selectSnapshot(RouterState).state.url },
}),
);

Loading…
Cancel
Save