fix: removed log calls used while troubleshooting

This commit is contained in:
Torkel Ödegaard
2018-04-27 14:28:42 +02:00
parent df71fe33fd
commit 44b0f15a61

View File

@@ -60,9 +60,7 @@ func AddOrgInvite(c *m.ReqContext, inviteDto dtos.AddInviteForm) Response {
}
// send invite email
c.Logger.Error("sending?")
if inviteDto.SendEmail && util.IsEmail(inviteDto.LoginOrEmail) {
c.Logger.Error("yes sending?")
emailCmd := m.SendEmailCommand{
To: []string{inviteDto.LoginOrEmail},
Template: "new_user_invite.html",