summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/user.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/user.go b/api/user.go
index 483ae67b5..beb555d71 100644
--- a/api/user.go
+++ b/api/user.go
@@ -135,6 +135,8 @@ func createUser(c *Context, w http.ResponseWriter, r *http.Request) {
user.EmailVerified = true
}
+ user.EmailVerified = true
+
ruser := CreateUser(c, team, user)
if c.Err != nil {
return