-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add support for admin to customize login layout #668
Conversation
Sign in with your ${iamOrganisationName} credentials | ||
</c:when> | ||
<c:otherwise> | ||
Or sign in with your ${iamOrganisationName} credentials |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Sign in" again?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In our scenario, Assuming that user want external authn block to be displayed first, Now for our local credentials section, we have to change the text to or sign in
. Does that make sense, ?
test="${ | ||
( | ||
loginPageConfiguration.localAuthenticationVisible | ||
or param.sll != null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can or
be ||
(for uniformity)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure..Updated the code to be consistent,
<jsp:include page="login-form.jsp" /> | ||
<c:if | ||
test="${ | ||
!loginPageConfiguration.defaultLoginPageLayout |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this equivalent to !loginPageConfiguration.defaultLoginPageLayout || !loginPageConfiguration.localAuthenticationVisible && param.ssl == null
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simplified the logic. Done
<c:choose> | ||
<c:when | ||
test="${ | ||
( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this equivalent to loginPageConfiguration.defaultLoginPageLayout && (loginPageConfiguration.localAuthenticationVisible || param.sll != null)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simplified the logic. Done
Kudos, SonarCloud Quality Gate passed! |
Resolves #298.
TODO:
Update https://indigo-iam.github.io/ with relevant information.