set email branding after registration

This commit is contained in:
Matthew Hodgson 2016-06-02 13:14:52 +01:00
parent 83fd02bdfa
commit 1d31463140
3 changed files with 24 additions and 9 deletions

View file

@ -51,7 +51,6 @@ class Register extends Signup {
this.username = undefined; // desired
this.email = undefined; // desired
this.password = undefined; // desired
this.brand = undefined; // optional brand to let the HS brand its mail notifs
}
setClientSecret(secret) {
@ -74,10 +73,6 @@ class Register extends Signup {
this.guestAccessToken = token;
}
setBrand(brand) {
this.brand = brand;
}
getStep() {
return this._step;
}
@ -136,7 +131,7 @@ class Register extends Signup {
return MatrixClientPeg.get().register(
this.username, this.password, this.params.sessionId, authDict, bindEmail,
this.guestAccessToken, this.brand
this.guestAccessToken
).then(function(result) {
self.credentials = result;
self.setStep("COMPLETE");