Limpieza auth

This commit is contained in:
2021-03-20 01:11:16 +01:00
parent c3e533eb0c
commit f1c3824362
2 changed files with 16 additions and 29 deletions

View File

@@ -19,9 +19,8 @@ export class AppComponent implements OnInit, OnDestroy {
async ngOnInit(): Promise<void> {
console.log('AppComponent.ngInit()');
// const chatLoginToken = await this.waitChatToken();
// const authState = await this.authService.configureAndTryLogin(chatLoginToken);
const authState = await this.authService.configureAndTryLogin(null);
const chatLoginToken = await this.waitChatToken();
const authState = await this.authService.configureAndTryLogin(chatLoginToken);
if (authState !== AuthState.ChatLoggingInProcess) {
this.showOverlay = false;