Commit 30c3c027 by Nilu

fix issue : hiring team name was set to empty when creating an account using social media

parent 53775818
......@@ -18,6 +18,11 @@
Debug.assertion(hiringTeam != null, "No Hiring Team added in admin portal");
if(socialLogin)
{
hiringTeam.setHiringTeamName(company.getCompanyName());
}
CompanyUser companyUser = company.getAddedByUser();
SecUser secUser = companyUser.getUser();
Integer pageNumber = 1;
......
......@@ -139,8 +139,7 @@
{
%>
<oneit:button value="Create my account" name="gotoPage" cssClass="box-btn verify-btn"
requestAttribs="<%= CollectionUtils.mapEntry("socialLogin", socialLogin)
.mapEntry("procParams", CollectionUtils.mapEntry("Company", companyUser.getCompany()).toMap())
requestAttribs="<%= CollectionUtils.mapEntry("procParams", CollectionUtils.mapEntry("Company", companyUser.getCompany()).mapEntry("socialLogin", socialLogin).toMap())
.mapEntry("nextPage", nextPage).toMap() %>"/>
<%
}
......@@ -176,9 +175,9 @@
</div>
<oneit:button value="Sign up" name="sendCompanyUserInvites" cssClass="box-btn verify-btn"
requestAttribs="<%= CollectionUtils.mapEntry("socialLogin", socialLogin)
.mapEntry("CompanyUser", companyUser)
requestAttribs="<%= CollectionUtils.mapEntry("CompanyUser", companyUser)
.mapEntry("nextPage", homePage)
.mapEntry("procParams", CollectionUtils.mapEntry("socialLogin", socialLogin).mapEntry("Company", company).toMap())
.toMap() %>"/>
<%
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment