Skip to content

Commit

Permalink
Merge pull request #54 from kn3609571/email-theme-resources
Browse files Browse the repository at this point in the history
Include email theme resources to Jar
  • Loading branch information
mesutpiskin authored Nov 8, 2024
2 parents 8f88ae8 + 035a890 commit f0356a6
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 24 deletions.
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,6 @@ copy `keycloak-2fa-email-authenticator.jar` to `keycloak/providers/` directory.

If you are Dockerized keycloak then copy to `/opt/jboss/keycloak/standalone/deployments/` directory.

## Theme Resources

- **html/code-email.ftl** is a html email template. Copy to `themes/base/email/html/`

- copy **text/code-email.ftl** to `themes/base/email/text/`

- append **messages/*.properties** to `themes/base/email/messages/messages_en.properties`

## Build

Don't forget to start kc.sh with build parameter to make KeyCloak recognize the new povider:
Expand Down
10 changes: 0 additions & 10 deletions src/main/resources/META-INF/keycloak-themes.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
resendCode=Resend Code
emailOtpForm=Please enter the six digit code that was delivered to your email.

emailCodeSubject={0} access code
emailCodeBody=Access code: {0}.\n\nThis code will expire within {1} seconds.
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
resendCode=Tekrar Gönder

emailCodeSubject={0} dogrulama kodu
emailCodeBody=Dogrulama kodunuz: {0}

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions src/main/resources/theme/email-code-theme/theme.properties

This file was deleted.

0 comments on commit f0356a6

Please sign in to comment.