mirror of
https://github.com/goauthentik/authentik.git
synced 2026-06-17 19:09:11 +03:00
core: fix Invitation Emails Ignoring Selected Template (#23122)
fix Invitation Emails Ignoring Selected Template
This commit is contained in:
committed by
GitHub
parent
f85ae49250
commit
63f14fe215
@@ -21,7 +21,7 @@ interface InvitationSendEmailRequestWithTemplate {
|
||||
emailAddresses: string;
|
||||
ccAddresses?: string;
|
||||
bccAddresses?: string;
|
||||
template?: TypeCreate;
|
||||
template?: string;
|
||||
}
|
||||
|
||||
@customElement("ak-invitation-send-email-form")
|
||||
@@ -84,7 +84,7 @@ export class InvitationSendEmailForm extends Form<InvitationSendEmailRequestWith
|
||||
emailAddresses: addresses,
|
||||
ccAddresses: ccAddresses.length > 0 ? ccAddresses : undefined,
|
||||
bccAddresses: bccAddresses.length > 0 ? bccAddresses : undefined,
|
||||
template: data.template?.name,
|
||||
template: data.template,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user