summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--api/user.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/api/user.go b/api/user.go
index bdd26e097..5b052e826 100644
--- a/api/user.go
+++ b/api/user.go
@@ -135,8 +135,6 @@ 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