Skip to content

Commit b2220d4

Browse files
authored
Merge pull request #113 from GSA/feature/80_login_gov
No logging out of login.gov totally
2 parents e0c0c42 + 7c0d33f commit b2220d4

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

src/app/header/header.component.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,14 @@ export class HeaderComponent implements OnInit {
108108
this.app.isLogin = false;
109109
this.authGuard.isLogin = false;
110110

111-
const logoutURL = this.authService.logout();
111+
//const logoutURL = this.authService.logout();
112112

113113
// TODO: Implement when only Login.gov is used
114-
if (loginMethod === 'login.gov') {
115-
window.location.href = logoutURL;
116-
}
117-
else {
118-
this.router.navigateByUrl('auth').then();
119-
}
114+
//if (loginMethod === 'login.gov') {
115+
// window.location.href = logoutURL;
116+
//}
117+
this.router.navigateByUrl('auth').then();
118+
120119

121120
}
122121

0 commit comments

Comments
 (0)