+ private acceptRegistration () {
+ this.registrationService.acceptRegistration({
+ registration: this.registration,
+ moderationResponse: this.form.value.moderationResponse,
+ preventEmailDelivery: this.form.value.preventEmailDelivery
+ }).subscribe({
+ next: () => {
+ this.notifier.success($localize`${this.registration.username} account created`)
+
+ this.registrationProcessed.emit()
+ this.hide()
+ },
+
+ error: err => this.notifier.error(err.message)
+ })