Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include email theme resources to Jar #54

Merged
merged 2 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.