summaryrefslogtreecommitdiffstats
path: root/api/user.go
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-07-07 13:18:10 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-07-07 13:18:10 -0700
commitff4b94f02b038bf754ba3fcb00b7dd2a421a2d71 (patch)
treeeccb9411fee9fcbafd9f6566f2d3637b803259b3 /api/user.go
parent91511281c55ac9b7d3d8ce21d409905c2aec1955 (diff)
downloadchat-ff4b94f02b038bf754ba3fcb00b7dd2a421a2d71.tar.gz
chat-ff4b94f02b038bf754ba3fcb00b7dd2a421a2d71.tar.bz2
chat-ff4b94f02b038bf754ba3fcb00b7dd2a421a2d71.zip
Small changes and code clean-up
Diffstat (limited to 'api/user.go')
-rw-r--r--api/user.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/api/user.go b/api/user.go
index 6528c0f61..ada781bc7 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