Reword 'allow to' sentences

This commit is contained in:
Phil Davis
2023-05-18 09:48:29 +05:45
parent f19830e919
commit 4874da778c
6 changed files with 7 additions and 7 deletions
@@ -86,10 +86,10 @@ func (b Backend) CreateUser(ctx context.Context, invitation *invitations.Invitat
return id, nil
}
// CanSendMail returns true because keycloak does allow to send mail.
// CanSendMail returns true because keycloak does allow sending mail.
func (b Backend) CanSendMail() bool { return true }
// SendMail sends a mail to the user with details on how to reedeem the invitation.
// SendMail sends a mail to the user with details on how to redeem the invitation.
func (b Backend) SendMail(ctx context.Context, id string) error {
return b.client.SendActionsMail(ctx, b.userRealm, id, userRequiredActions)
}