-
Notifications
You must be signed in to change notification settings - Fork 85
Use realm email to send mail templates #849
Conversation
pkg/controller/user/send_invite.go
Outdated
return nil | ||
} | ||
|
||
func (c *Controller) sendInvitationFromRealmEmailer(ctx context.Context, toEmail string) error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've seen this same chunk of code a few times now - can we centralize?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done, though it's a little weird with the func passing for compose
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I take it you're not a fan of Closure or Lisp? 😄
/hold Feel free to review. I think this is good to go, but I don't want it merging the day before the release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sethvargo, whaught The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/unhold .13 release is cut |
Issue #787
Proposed Changes
Release Note