- this.notificationsService.success('Success', `Registration for ${userCreate.username} complete.`)
- this.router.navigate([ '/videos/list' ])
+ if (this.requiresEmailVerification) {
+ this.notificationsService.alert(
+ this.i18n('Welcome'),
+ this.i18n('Please check your email to verify your account and complete signup.')
+ )
+ } else {
+ this.notificationsService.success(
+ this.i18n('Success'),
+ this.i18n('Registration for {{username}} complete.', { username: userCreate.username })
+ )
+ }
+ this.redirectService.redirectToHomepage()