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

Fix issues w/ form not passing on auth state #131

Merged
merged 1 commit into from
Jan 22, 2025
Merged
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
18 changes: 9 additions & 9 deletions ol-keycloak/oltheme/src/main/resources/theme/ol/login/login.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -110,26 +110,26 @@
</div>
</form>
<#elseif realm.resetPasswordAllowed>
<form id="kc-form-login" onsubmit="login.disabled = true; return true;"
action="${url.loginResetCredentialsUrl}" method="get" class="${properties.kcFormClass!}">
<div id="kc-form-login" class="${properties.kcFormClass!}">
<div class="${properties.kcFormGroupClass!}">
<p>
<b>Password required.</b>
For security reasons you will need to create a new password for your account.
</p>
</div>
<div id="kc-form-buttons" class="${properties.kcFormGroupClass!}">
<button
<a
href="${url.loginResetCredentialsUrl}"
class="${properties.kcButtonClass!} ${properties.kcButtonPrimaryClass!} ${properties.kcButtonBlockClass!} ${properties.kcButtonLargeClass!}"
id="kc-create-password" type="submit">
${msg("createPassword")}
</button>
</div>
</form>
<#else>
<div class="${properties.kcFormGroupClass!}">
<p>Unable to log you in - no password and password reset is disabled by the administrator.</p>
</a>
</div>
</div>
<#else>
<div class="${properties.kcFormGroupClass!}">
<p>Unable to log you in - no password and password reset is disabled by the administrator.</p>
</div>
</#if>
</#if>
</div>
Expand Down
Loading