feat(signup): almost done with new sign up flow, #2353

This commit is contained in:
Torkel Ödegaard
2015-08-31 11:35:07 +02:00
parent 13c70ac02c
commit d19e101e6b
11 changed files with 97 additions and 64 deletions
@@ -123,6 +123,10 @@ func validateResetPasswordCode(query *m.ValidateResetPasswordCodeQuery) error {
}
func signUpStartedHandler(evt *events.SignUpStarted) error {
if !setting.VerifyEmailEnabled {
return nil
}
log.Info("User signup started: %s", evt.Email)
if evt.Email == "" {