Support Registration on Webatrice with a baseline of handling. (#4436)

* Support Registration on Webatrice with a baseline of handling. Still needs to support activation tokens & unit testing.

* Add support for account activation with token

* Activate Account refactor

* Fix typo

* Add Unit Testing for Commands/Events

* Changes based on review feedback
This commit is contained in:
Zach H 2021-10-20 22:07:35 -04:00 committed by GitHub
parent ebebb9c4bb
commit b1ef8220ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 483 additions and 68 deletions

View file

@ -72,4 +72,12 @@ export class SessionPersistence {
static serverMessage(message: string) {
ServerDispatch.serverMessage(sanitizeHtml(message));
}
static accountAwaitingActivation() {
console.log("Open Modal for Activation Code input");
}
static accountActivationFailed() {
console.log("Account activation failed, show an action here");
}
}