summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/user.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/api/user.go b/api/user.go
index 0a54b6a5d..2740696e1 100644
--- a/api/user.go
+++ b/api/user.go
@@ -177,9 +177,6 @@ func CreateUser(c *Context, team *model.Team, user *model.User) *model.User {
}
user.MakeNonNil()
- if len(user.Props["theme"]) == 0 {
- user.AddProp("theme", utils.Cfg.TeamSettings.DefaultThemeColor)
- }
if result := <-Srv.Store.User().Save(user); result.Err != nil {
c.Err = result.Err