Fix email sending on the sudo page

This commit is contained in:
Eli Ribble 2026-02-18 21:38:16 +00:00
parent 2d61532dd1
commit 4100263393
No known key found for this signature in database
3 changed files with 12 additions and 3 deletions

View file

@ -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
}