fix: removed log calls used while troubleshooting

pull/11756/head
Torkel Ödegaard 8 years ago
parent df71fe33fd
commit 44b0f15a61
  1. 2
      pkg/api/org_invite.go

@ -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",

Loading…
Cancel
Save