Skip to content

Commit

Permalink
Merge pull request #6912 from dhaura/DP-add-invlaid-discovery-type-error
Browse files Browse the repository at this point in the history
Rename "orgDiscovery" Param to "login_hint"
  • Loading branch information
dhaura authored Sep 24, 2024
2 parents 8afce54 + 1789e68 commit 2d387f7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/hot-balloons-deny.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wso2is/identity-apps-core": patch
---

Rename "orgDiscovery" param to "login_hint"
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
<div class="field m-0 text-left required">
<label><%=AuthenticationEndpointUtil.i18n(resourceBundle, "organization.email")%></label>
</div>
<input type="text" id='orgDiscovery' name="orgDiscovery" size='30'/>
<input type="text" id='login_hint' name="login_hint" size='30'/>

<div class="mt-1" id="discoveryInputError" style="display: none;">
<i class="red exclamation circle fitted icon"></i>
Expand Down Expand Up @@ -171,7 +171,7 @@

<script type="text/javascript">
function enterOrgName() {
document.getElementById("orgDiscovery").disabled = true;
document.getElementById("login_hint").disabled = true;
document.getElementById("org_form").submit();
}
Expand All @@ -182,7 +182,7 @@
function submitDiscovery() {
// Show error message when discovery input is empty.
if (document.getElementById("orgDiscovery").value.length <= 0) {
if (document.getElementById("login_hint").value.length <= 0) {
showEmptyDiscoveryInputErrorMessage();
return;
}
Expand Down

0 comments on commit 2d387f7

Please sign in to comment.