Fix email sending on the sudo page
This commit is contained in:
parent
2d61532dd1
commit
4100263393
3 changed files with 12 additions and 3 deletions
|
|
@ -61,7 +61,7 @@ func postSudoEmail(ctx context.Context, u *models.User, e FormEmail) (string, *e
|
|||
if err != nil {
|
||||
log.Warn().Err(err).Msg("Failed to send email")
|
||||
} else {
|
||||
log.Info().Str("id", resp.ID).Msg("Sent Email...?")
|
||||
log.Info().Str("id", resp.ID).Str("to", e.To).Msg("Sent Email")
|
||||
}
|
||||
return "/sudo", nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue