diff --git a/angular.json b/angular.json index 8aa33be..b5ad02f 100644 --- a/angular.json +++ b/angular.json @@ -97,5 +97,8 @@ } } } + }, + "cli": { + "analytics": false } } diff --git a/src/app/pages/admin/admin.component.ts b/src/app/pages/admin/admin.component.ts index ad64f56..1c81b65 100644 --- a/src/app/pages/admin/admin.component.ts +++ b/src/app/pages/admin/admin.component.ts @@ -133,7 +133,6 @@ export class AdminComponent implements OnInit { default: return 1; } - return 1; }); } @@ -165,8 +164,12 @@ export class AdminComponent implements OnInit { UtilsService.saveSessionInfoToLocalStorage(session.sessionId, session.sessionKey); this.isLoggedIn = true; this.getEvents(); - confirm('Please talk to Patrick to activate your account. You can\'t use this application before that.'); + confirm('An email was sent to your Nachklang address. Please click the link in the email to activate your account. You can\'t use this application before the activation.'); + } else { + confirm('Regisistration unsuccessful. Please contact Patrick.'); } + }, (error) => { + confirm('Login unsuccessful. Reported problem from server: ' + error.error.message); }); }