Add hint for activation email
All checks were successful
Jenkins Production Deployment

This commit is contained in:
Patrick Müller 2023-12-30 23:04:50 +01:00
parent 543bb182b9
commit 20691514b9
Signed by: Paddy
GPG Key ID: D10B5E2CFD8E7C6D
2 changed files with 8 additions and 2 deletions

View File

@ -97,5 +97,8 @@
} }
} }
} }
},
"cli": {
"analytics": false
} }
} }

View File

@ -133,7 +133,6 @@ export class AdminComponent implements OnInit {
default: default:
return 1; return 1;
} }
return 1;
}); });
} }
@ -165,8 +164,12 @@ export class AdminComponent implements OnInit {
UtilsService.saveSessionInfoToLocalStorage(session.sessionId, session.sessionKey); UtilsService.saveSessionInfoToLocalStorage(session.sessionId, session.sessionKey);
this.isLoggedIn = true; this.isLoggedIn = true;
this.getEvents(); 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);
}); });
} }