@@ -51,13 +51,13 @@ export const templates = [
5151 component : EmailVerificationTemplate
5252 } ,
5353 {
54- key : EmailTemplateType . Magicsession ,
54+ key : 'magicSession' as EmailTemplateType ,
5555 title : 'Magic URL' ,
5656 description : 'Send an email to users that sign in with a magic URL.' ,
5757 component : EmailMagicUrlTemplate
5858 } ,
5959 {
60- key : EmailTemplateType . Otpsession ,
60+ key : 'otpSession' as EmailTemplateType ,
6161 title : 'OTP session' ,
6262 description : 'Send an email to users that sign in with a email OTP.' ,
6363 component : EmailOtpSessionTemplate
@@ -75,13 +75,13 @@ export const templates = [
7575 component : EmailInviteTemplate
7676 } ,
7777 {
78- key : EmailTemplateType . Mfachallenge ,
78+ key : 'mfaChallenge' as EmailTemplateType ,
7979 title : '2FA verification' ,
8080 description : 'Send a two-factor authentication email to a user.' ,
8181 component : Email2FaTemplate
8282 } ,
8383 {
84- key : EmailTemplateType . Sessionalert ,
84+ key : 'sessionAlert' as EmailTemplateType ,
8585 title : 'Session alert' ,
8686 description : 'Send an email to users when a new session is created.' ,
8787 component : EmailSessionAlertTemplate ,
0 commit comments