summaryrefslogtreecommitdiffstats
path: root/api/auto_users.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/auto_users.go')
-rw-r--r--api/auto_users.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/auto_users.go b/api/auto_users.go
index 3e4b0b16c..d1e3d494e 100644
--- a/api/auto_users.go
+++ b/api/auto_users.go
@@ -46,7 +46,7 @@ func CreateBasicUser(client *model.Client) *model.AppError {
if err != nil {
return err
}
- store.Must(Srv.Store.User().VerifyEmail(utils.T, result.Data.(*model.User).Id))
+ store.Must(Srv.Store.User().VerifyEmail(result.Data.(*model.User).Id))
}
return nil
}
@@ -73,7 +73,7 @@ func (cfg *AutoUserCreator) createRandomUser() (*model.User, bool) {
return nil, false
}
// We need to cheat to verify the user's email
- store.Must(Srv.Store.User().VerifyEmail(utils.T, result.Data.(*model.User).Id))
+ store.Must(Srv.Store.User().VerifyEmail(result.Data.(*model.User).Id))
return result.Data.(*model.User), true
}