From 20691514b9757f7f1276987d105554d47e7be99b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20M=C3=BCller?= Date: Sat, 30 Dec 2023 23:04:50 +0100 Subject: [PATCH] Add hint for activation email --- angular.json | 3 +++ src/app/pages/admin/admin.component.ts | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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); }); }