Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Usman
PERFORMA_REPLICA
Commits
6a17cb69
Commit
6a17cb69
authored
Sep 12, 2017
by
Nilu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
forgot password - applicant portal
parent
915561ae
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
251 additions
and
24 deletions
+251
-24
Candidate.xml
cmsWebApp/sql/Candidate.xml
+2
-0
Candidate.sql
cmsWebApp/sql/ms/Candidate.sql
+2
-0
Candidate.sql
cmsWebApp/sql/oracle/Candidate.sql
+2
-0
Candidate.sql
cmsWebApp/sql/postgres/Candidate.sql
+2
-0
ForgotPasswordFP.java
cmsWebApp/src/performa/form/ForgotPasswordFP.java
+45
-14
ResetPasswordFP.java
cmsWebApp/src/performa/form/ResetPasswordFP.java
+9
-1
BaseCandidate.java
cmsWebApp/src/performa/orm/BaseCandidate.java
+0
-0
Candidate.java
cmsWebApp/src/performa/orm/Candidate.java
+20
-0
Candidate.xml
cmsWebApp/src/performa/orm/Candidate.xml
+6
-5
CandidatePersistenceMgr.java
cmsWebApp/src/performa/orm/CandidatePersistenceMgr.java
+0
-0
WebUtils.java
cmsWebApp/src/performa/utils/WebUtils.java
+1
-0
CustomServlets_applicantPortal.xml
...nsions/applicantportal/CustomServlets_applicantPortal.xml
+5
-1
GeneralConfig_applicantPortal.xml
...ensions/applicantportal/GeneralConfig_applicantPortal.xml
+2
-0
forgot_password.jsp
...pp/webroot/extensions/applicantportal/forgot_password.jsp
+2
-3
reset_password.jsp
...App/webroot/extensions/applicantportal/reset_password.jsp
+117
-0
reset_password_sent.jsp
...ebroot/extensions/applicantportal/reset_password_sent.jsp
+20
-0
sign_in.jsp
cmsWebApp/webroot/extensions/applicantportal/sign_in.jsp
+1
-0
20170912_Alter_Candidate.xml
...extensions/performa/upgrades/20170912_Alter_Candidate.xml
+15
-0
No files found.
cmsWebApp/sql/Candidate.xml
View file @
6a17cb69
...
...
@@ -10,6 +10,8 @@
<column
name=
"object_created_date"
type=
"Date"
nullable=
"false"
length=
"22"
/>
<column
name=
"object_type"
type=
"String"
nullable=
"false"
length=
"30"
/>
<column
name=
"phone"
type=
"String"
nullable=
"true"
length=
"30"
/>
<column
name=
"forgot_password_mail_send_date"
type=
"Date"
nullable=
"true"
/>
<column
name=
"forgot_password_key"
type=
"String"
nullable=
"true"
length=
"10"
/>
<column
name=
"verification_mail_send_date"
type=
"Date"
nullable=
"true"
/>
<column
name=
"verification_key"
type=
"String"
nullable=
"true"
length=
"10"
/>
<column
name=
"is_account_verified"
type=
"Boolean"
nullable=
"true"
/>
...
...
cmsWebApp/sql/ms/Candidate.sql
View file @
6a17cb69
...
...
@@ -9,6 +9,8 @@ CREATE TABLE oneit_sec_user_extension (
object_created_date
datetime
DEFAULT
getdate
()
NOT
NULL
,
object_type
varchar
(
30
)
NOT
NULL
,
phone
varchar
(
30
)
NULL
,
forgot_password_mail_send_date
datetime
NULL
,
forgot_password_key
varchar
(
10
)
NULL
,
verification_mail_send_date
datetime
NULL
,
verification_key
varchar
(
10
)
NULL
,
is_account_verified
char
(
1
)
NULL
,
...
...
cmsWebApp/sql/oracle/Candidate.sql
View file @
6a17cb69
...
...
@@ -10,6 +10,8 @@ CREATE TABLE oneit_sec_user_extension (
object_created_date
date
DEFAULT
SYSDATE
NOT
NULL
,
object_type
varchar2
(
30
)
NOT
NULL
,
phone
varchar2
(
30
)
NULL
,
forgot_password_mail_send_date
date
NULL
,
forgot_password_key
varchar2
(
10
)
NULL
,
verification_mail_send_date
date
NULL
,
verification_key
varchar2
(
10
)
NULL
,
is_account_verified
char
(
1
)
NULL
,
...
...
cmsWebApp/sql/postgres/Candidate.sql
View file @
6a17cb69
...
...
@@ -10,6 +10,8 @@ CREATE TABLE oneit_sec_user_extension (
object_created_date
timestamp
DEFAULT
NOW
()
NOT
NULL
,
object_type
varchar
(
30
)
NOT
NULL
,
phone
varchar
(
30
)
NULL
,
forgot_password_mail_send_date
timestamp
NULL
,
forgot_password_key
varchar
(
10
)
NULL
,
verification_mail_send_date
timestamp
NULL
,
verification_key
varchar
(
10
)
NULL
,
is_account_verified
char
(
1
)
NULL
,
...
...
cmsWebApp/src/performa/form/ForgotPasswordFP.java
View file @
6a17cb69
...
...
@@ -3,6 +3,7 @@ package performa.form;
import
java.util.Date
;
import
java.util.Map
;
import
javax.servlet.http.HttpServletRequest
;
import
oneit.business.content.Article
;
import
oneit.components.ParticipantInitialisationContext
;
import
oneit.email.ConfigurableEmailer
;
import
oneit.logging.*
;
...
...
@@ -18,7 +19,9 @@ import oneit.utils.transform.MapTransform;
import
oneit.utils.transform.param.ErrorTransform
;
import
oneit.utils.transform.param.ORMTransform
;
import
oneit.utils.transform.param.PrefixCompoundTransform
;
import
performa.orm.Candidate
;
import
performa.orm.CompanyUser
;
import
performa.utils.WebUtils
;
public
class
ForgotPasswordFP
extends
SaveFP
...
...
@@ -34,7 +37,8 @@ public class ForgotPasswordFP extends SaveFP
HttpServletRequest
request
=
submission
.
getRequest
();
ObjectTransaction
objTran
=
process
.
getTransaction
();
String
email
=
(
String
)
request
.
getParameter
(
"email"
);
String
nextPage
=
(
String
)
request
.
getAttribute
(
"nextPage"
);
Debug
.
assertion
(
email
!=
null
,
"Email not avaialble"
);
email
=
StringUtils
.
trim
(
email
);
...
...
@@ -58,22 +62,46 @@ public class ForgotPasswordFP extends SaveFP
{
LogMgr
.
log
(
LOG
,
LogLevel
.
PROCESSING1
,
"Inside ForgotPasswordFP for send reset pasword link mail to "
,
email
);
CompanyUser
companyUser
=
secUser
.
getExtensionOrCreate
(
CompanyUser
.
REFERENCE_CompanyUser
)
;
Map
emailParams
;
if
(
companyUser
.
getForgotPasswordKey
()==
null
)
CompanyUser
companyUser
=
secUser
.
getExtension
(
CompanyUser
.
REFERENCE_CompanyUser
);
if
(
companyUser
!=
null
)
{
String
resetCode
=
new
RandomStringGen
().
generateHumanAlphaNum
(
new
Integer
(
DEFAULT_PASSWORD_LENGTH
));
companyUser
.
setForgotPasswordKey
(
resetCode
);
if
(
companyUser
.
getForgotPasswordKey
()
==
null
)
{
String
resetCode
=
new
RandomStringGen
().
generateHumanAlphaNum
(
new
Integer
(
DEFAULT_PASSWORD_LENGTH
));
companyUser
.
setForgotPasswordKey
(
resetCode
);
}
companyUser
.
setForgotPasswordMailSendDate
(
new
Date
());
emailParams
=
CollectionUtils
.
mapEntry
(
"resetcode"
,
companyUser
.
getForgotPasswordKey
())
.
mapEntry
(
"url"
,
LoopbackHTTP
.
getRemoteAccessURL
()
+
"/extensions/adminportal/reset_password.jsp"
+
"?id="
+
companyUser
.
getID
()
+
"&key="
+
companyUser
.
getForgotPasswordKey
()).
toMap
();
}
companyUser
.
setForgotPasswordMailSendDate
(
new
Date
());
Map
emailParams
=
CollectionUtils
.
mapEntry
(
"resetcode"
,
companyUser
.
getForgotPasswordKey
())
.
mapEntry
(
"url"
,
LoopbackHTTP
.
getRemoteAccessURL
()
+
"/extensions/adminportal/reset_password.jsp"
+
"?id="
+
companyUser
.
getID
()
+
"&key="
+
companyUser
.
getForgotPasswordKey
()).
toMap
();
else
{
Candidate
candidate
=
secUser
.
getExtension
(
Candidate
.
REFERENCE_Candidate
);
Article
applyJobArticle
=
WebUtils
.
getArticleByShortCut
(
objTran
,
WebUtils
.
APPLY_JOB
);
if
(
candidate
.
getForgotPasswordKey
()
==
null
)
{
String
resetCode
=
new
RandomStringGen
().
generateHumanAlphaNum
(
new
Integer
(
DEFAULT_PASSWORD_LENGTH
));
candidate
.
setForgotPasswordKey
(
resetCode
);
}
candidate
.
setForgotPasswordMailSendDate
(
new
Date
());
emailParams
=
CollectionUtils
.
mapEntry
(
"resetcode"
,
candidate
.
getForgotPasswordKey
())
.
mapEntry
(
"url"
,
LoopbackHTTP
.
getRemoteAccessURL
(
request
)
+
applyJobArticle
.
getLink
(
request
,
CollectionUtils
.
EMPTY_MAP
,
"/"
)
+
"?id="
+
candidate
.
getID
()
+
"&key="
+
candidate
.
getForgotPasswordKey
()).
toMap
();
}
PrefixCompoundTransform
compoundTransform
=
new
PrefixCompoundTransform
();
ObjectTransform
defaultTransform
=
new
MapTransform
(
emailParams
);
...
...
@@ -101,10 +129,13 @@ public class ForgotPasswordFP extends SaveFP
throw
new
BusinessException
(
"Sorry, we don't recognize that email address."
);
}
return
super
.
processForm
(
process
,
submission
,
params
);
process
.
completeAndRestart
();
return
new
ProcessRedirectResult
(
nextPage
,
new
String
[
0
]);
}
@Override
public
void
init
(
ParticipantInitialisationContext
context
)
throws
InitialisationException
{
super
.
init
(
context
);
...
...
cmsWebApp/src/performa/form/ResetPasswordFP.java
View file @
6a17cb69
...
...
@@ -8,6 +8,7 @@ import oneit.security.SecUser;
import
oneit.servlets.forms.*
;
import
oneit.servlets.process.*
;
import
oneit.utils.*
;
import
performa.orm.Candidate
;
import
performa.orm.CompanyUser
;
import
performa.utils.Utils
;
...
...
@@ -22,13 +23,20 @@ public class ResetPasswordFP extends ORMProcessFormProcessor
{
SecUser
user
=
(
SecUser
)
process
.
getAttribute
(
"SecUser"
);
CompanyUser
companyUser
=
user
.
getExtension
(
CompanyUser
.
REFERENCE_CompanyUser
);
Candidate
candidate
=
user
.
getExtension
(
Candidate
.
REFERENCE_Candidate
);
if
(
companyUser
!=
null
)
{
LogMgr
.
log
(
LOG
,
LogLevel
.
PROCESSING1
,
"Inside ResetPasswordFP for reset pasword to "
,
user
);
LogMgr
.
log
(
LOG
,
LogLevel
.
PROCESSING1
,
"Inside ResetPasswordFP for
Company User
reset pasword to "
,
user
);
companyUser
.
setForgotPasswordKey
(
null
);
}
else
if
(
candidate
!=
null
)
{
LogMgr
.
log
(
LOG
,
LogLevel
.
PROCESSING1
,
"Inside ResetPasswordFP for Candidate reset pasword to "
,
user
);
candidate
.
setForgotPasswordKey
(
null
);
}
return
Utils
.
processSuccessfulLogin
(
process
,
submission
,
params
,
user
);
}
...
...
cmsWebApp/src/performa/orm/BaseCandidate.java
View file @
6a17cb69
This diff is collapsed.
Click to expand it.
cmsWebApp/src/performa/orm/Candidate.java
View file @
6a17cb69
...
...
@@ -132,4 +132,23 @@ public class Candidate extends BaseCandidate
new
ObjectTransform
[]
{
CultureCriteriaAnswer
.
pipesCultureCriteriaAnswer
().
toObjectID
()},
new
Comparator
[]{
CollectionUtils
.
DEFAULT_COMPARATOR
});
}
public
static
Candidate
getCandidateForForgotPassword
(
ObjectTransaction
transaction
,
String
userIDStr
,
String
code
)
{
userIDStr
=
StringUtils
.
subBlanks
(
userIDStr
);
code
=
StringUtils
.
subBlanks
(
code
);
if
(
userIDStr
!=
null
&&
code
!=
null
)
{
Candidate
candidate
=
Candidate
.
getCandidateByID
(
transaction
,
Long
.
parseLong
(
userIDStr
));
if
(
candidate
!=
null
&&
CollectionUtils
.
equals
(
candidate
.
getForgotPasswordKey
(),
code
))
{
return
candidate
;
}
}
return
null
;
}
}
\ No newline at end of file
cmsWebApp/src/performa/orm/Candidate.xml
View file @
6a17cb69
...
...
@@ -13,11 +13,12 @@
<TABLE
name=
"oneit_sec_user_extension"
tablePrefix=
"object"
polymorphic=
"TRUE"
>
<ATTRIB
name=
"Phone"
type=
"String"
dbcol=
"phone"
length=
"30"
/>
<ATTRIB
name=
"VerificationMailSendDate"
type=
"Date"
dbcol=
"verification_mail_send_date"
/>
<ATTRIB
name=
"VerificationKey"
type=
"String"
dbcol=
"verification_key"
length=
"10"
/>
<ATTRIB
name=
"IsAccountVerified"
type=
"Boolean"
dbcol=
"is_account_verified"
defaultValue=
"Boolean.FALSE"
/>
<ATTRIB
name=
"Phone"
type=
"String"
dbcol=
"phone"
length=
"30"
/>
<ATTRIB
name=
"ForgotPasswordMailSendDate"
type=
"Date"
dbcol=
"forgot_password_mail_send_date"
/>
<ATTRIB
name=
"ForgotPasswordKey"
type=
"String"
dbcol=
"forgot_password_key"
length=
"10"
/>
<ATTRIB
name=
"VerificationMailSendDate"
type=
"Date"
dbcol=
"verification_mail_send_date"
/>
<ATTRIB
name=
"VerificationKey"
type=
"String"
dbcol=
"verification_key"
length=
"10"
/>
<ATTRIB
name=
"IsAccountVerified"
type=
"Boolean"
dbcol=
"is_account_verified"
defaultValue=
"Boolean.FALSE"
/>
<SINGLEREFERENCE
name=
"TestInput"
type=
"TestInput"
dbcol=
"test_input_id"
backreferenceName=
"Candidates"
/>
<SINGLEREFERENCE
name=
"User"
type=
"SecUser"
dbcol=
"user_id"
backreferenceName=
"Extensions"
inSuper=
'TRUE'
/>
...
...
cmsWebApp/src/performa/orm/CandidatePersistenceMgr.java
View file @
6a17cb69
This diff is collapsed.
Click to expand it.
cmsWebApp/src/performa/utils/WebUtils.java
View file @
6a17cb69
...
...
@@ -44,6 +44,7 @@ public class WebUtils
public
static
final
String
RESET_PASSWORD_ARTICLE
=
"ResetPasswordEmail"
;
public
static
final
String
COMPANY_ACCOUNT_VERIFICATION
=
"CompanyAccountVerification"
;
public
static
final
String
MY_DETAILS
=
"MyDetails"
;
public
static
final
String
RESET_PASSWORD
=
"ResetPassword"
;
public
static
String
getArticleLink
(
HttpServletRequest
request
,
ObjectTransaction
objTran
,
String
articleShortcut
,
String
renderMode
)
...
...
cmsWebApp/webroot/extensions/applicantportal/CustomServlets_applicantPortal.xml
View file @
6a17cb69
...
...
@@ -4,7 +4,7 @@
<NODE
name=
"dynamic_content_form::APPLICANT_PORTAL"
factory=
"Participant"
>
<FORM
name=
"*.signIn"
factory=
"Participant"
class=
"performa.form.SignInCandidateFP"
/>
<FORM
name=
"*.verifyIdentity"
factory=
"Participant"
class=
"performa.form.VerifyIdentityFP"
>
<AccountCreatedEmailer
factory=
"Participant"
class=
"oneit.email.ConfigurableArticleTemplateEmailer"
templateShortcut=
"AccountCreatedMail"
/>
<AccountCreatedEmailer
factory=
"Participant"
class=
"oneit.email.ConfigurableArticleTemplateEmailer"
templateShortcut=
"AccountCreatedMail"
/>
</FORM>
<FORM
name=
"*.completeApplication"
factory=
"Participant"
class=
"performa.form.CompleteApplicationFP"
/>
<FORM
name=
"*.saveAndExitExperienece"
factory=
"Participant"
class=
"performa.form.SaveAndExitExperienceFP"
/>
...
...
@@ -16,6 +16,10 @@
<FORM
name=
"*.facebookOAuthLogin"
factory=
"Participant"
class=
"oneit.security.oauth.form.FacebookOAuthLoginFP"
/>
<FORM
name=
"*.googleOAuthLogin"
factory=
"Participant"
class=
"oneit.security.oauth.form.GoogleOAuthLoginFP"
/>
<!--<FORM name="*.linkedinOAuthLogin" factory="Participant" class="performa.form.LinkedInOAuthLoginFP"/>-->
<FORM
name=
"*.forgotPassword"
factory=
"Participant"
class=
"performa.form.ForgotPasswordFP"
>
<ResetCodeEmailer
factory=
"Participant"
class=
"oneit.email.ConfigurableArticleTemplateEmailer"
templateShortcut=
"ResetCodeEmail"
/>
</FORM>
<FORM
name=
"*.resetPassword"
factory=
"Participant"
class=
"performa.form.ResetPasswordFP"
/>
</NODE>
<NODE
name=
"dynamic_content_form_applicant"
factory=
"Participant"
>
...
...
cmsWebApp/webroot/extensions/applicantportal/GeneralConfig_applicantPortal.xml
View file @
6a17cb69
...
...
@@ -25,6 +25,8 @@
<RenderMode
name=
"Page"
preIncludeJSP=
"extensions/applicantportal/job_overview.jsp"
/>
<RenderMode
name=
"SignIn"
preIncludeJSP=
"extensions/applicantportal/sign_in.jsp"
/>
<RenderMode
name=
"ForgotPassword"
preIncludeJSP=
"extensions/applicantportal/forgot_password.jsp"
/>
<RenderMode
name=
"ResetPassword"
preIncludeJSP=
"extensions/applicantportal/forgot_password.jsp"
/>
<RenderMode
name=
"ResetPasswordSent"
preIncludeJSP=
"extensions/applicantportal/reset_password_sent.jsp"
/>
</NODE>
...
...
cmsWebApp/webroot/extensions/applicantportal/forgot_password.jsp
View file @
6a17cb69
...
...
@@ -53,9 +53,8 @@
</div>
<div class="form-group">
<oneit:button value="Send" name="forgotPassword" cssClass="box-btn send-btn"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", "sign_in.jsp?sent=true")
.mapEntry(NotificationUtils.NOTIFICATION_MSG_PARAM, "resetPasswordEmailSent")
<oneit:button value="Send" name="gotoPage" cssClass="box-btn send-btn"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", WebUtils.getSamePageInRenderMode(request, "ResetPasswordSent"))
.toMap() %>"/>
</div>
</div>
...
...
cmsWebApp/webroot/extensions/applicantportal/reset_password.jsp
0 → 100644
View file @
6a17cb69
<%@ page extends="oneit.servlets.jsp.JSPInclude" %>
<%@ include file="/setuprequest.jsp" %>
<%@ include file="/inc/stdimports50.jsp" %><%-- This is in cougar --%>
<%@ include file="/extensions/performa/inc/stdimports.jsp" %>
<oneit:dynIncluded>
<%
ORMProcessState process = (ORMProcessState)ProcessDecorator.getDefaultProcess(request);
String candidateID = (String) process.getAttribute("candidateID"); //request.getParameter("id");
String forgotpasswordCode = (String) process.getAttribute("forgotpasswordCode"); //request.getParameter("key");
SecUser user = (SecUser) process.getAttribute("SecUser");
Article home = WebUtils.getArticleByShortCut(process.getTransaction(), WebUtils.ADMIN_HOME);
String nextPage = home.getLink(request);
if(request.getParameter("id")!=null)
{
candidateID = request.getParameter("id");
process.setAttribute("candidateID", candidateID);
}
if(request.getParameter("key")!=null)
{
forgotpasswordCode = request.getParameter("key");
process.setAttribute("forgotpasswordCode", forgotpasswordCode);
}
if(StringUtils.subBlanks(companyUserID) != null)
{
Canddate candidate = CompanyUser.getCandidateForForgotPassword(process.getTransaction(), candidateID, forgotpasswordCode);
if(candidate != null)
{
user = candidate.getUser();
// if(StringUtils.subBlanks(forgotpasswordCode) != null)
// {
// RandomStringGen random = new RandomStringGen();
//
// user.setAttribute("md5:Password", random.generateAlphaNum(8));
// }
process.setAttribute("SecUser", user);
}
}
%>
<script type="text/javascript">
$(document).ready(function() {
validate();
$('input').on('change keyup', function() { validate() });
});
function validate() {
var empty = false;
$('.password-field').each(function() {
if ( $.trim($( this ).val()) == '') {
empty = true;
}
});
if (empty) {
$('.reset-btn').attr('disabled', 'disabled');
} else {
$('.reset-btn').removeAttr('disabled');
}
}
</script>
<style>
button[disabled] {
opacity: 0.6;
background-color: #0582ba;
}
</style>
<oneit:form name="resetPassword" method="post">
<oneit:dynInclude page="/extensions/applicantportal/inc/multifieldtext.jsp" data="<%= CollectionUtils.EMPTY_MAP%>"/>
<%
if(user!=null)
{
String key = Utils.getPwdKeyOfSecUser(request, user, true);
%>
<div class="main-box-layout login-box">
<div class="text-left">
<p >
Please enter a new password below.
</p>
</div>
<div> </div>
<div class="form-group text-left">
<label>Password *</label>
<oneit:input type="password" name="<%= key %>" class="form-control password-field"/>
</div> <!-- form-group -->
<div class="form-group text-left">
<label>Confirm Password *</label>
<oneit:input type="password" name="<%= key + 2 %>" class="form-control password-field"/>
</div> <!-- form-group -->
<div class="col-sm-12">
<oneit:button value="Set New Password" name="resetPassword" cssClass="box-btn reset-btn"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", nextPage).toMap() %>"/>
</div>
</div>
<%
}
else
{
%>
<h3 class="text-danger">Invalid User or this link has been expired, generate new link to access this page.</h3>
<%
}
%>
</oneit:form>
</oneit:dynIncluded>
\ No newline at end of file
cmsWebApp/webroot/extensions/applicantportal/reset_password_sent.jsp
0 → 100644
View file @
6a17cb69
<%@ page extends="oneit.servlets.jsp.JSPInclude" %>
<%@ include file="/setuprequest.jsp" %>
<%@ include file="/inc/stdimports50.jsp" %><%-- This is in cougar --%>
<%@ include file="/extensions/performa/inc/stdimports.jsp" %>
<oneit:dynIncluded>
<div class="main-verify-identity">
<div class="login-logo"><img src="<%= request.getContextPath() %>/images/logo.svg" /></div>
<div class="main-box-layout login-box">
<div class="text-left">
<p>
Enter your email address below. If we find a matching account, then you'll receive an email with a password reset link.
</p>
</div>
</div>
</div>
</oneit:dynIncluded>
\ No newline at end of file
cmsWebApp/webroot/extensions/applicantportal/sign_in.jsp
View file @
6a17cb69
...
...
@@ -144,6 +144,7 @@
<div class="form-group">
<oneit:button value="Forgot password?" name="gotoPage" cssClass="forgot-pass" skin="link"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", WebUtils.getSamePageInRenderMode(request, "ForgotPassword"))
.mapEntry("procParams", CollectionUtils.mapEntry("Job", job).toMap())
.toMap() %>"/>
<oneit:button value="Sign In" name="signIn" cssClass="box-btn sign-in-btn"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", nextPage)
...
...
cmsWebApp/webroot/extensions/performa/upgrades/20170912_Alter_Candidate.xml
0 → 100644
View file @
6a17cb69
<?xml version="1.0" encoding="UTF-8"?>
<!-- @AutoRun -->
<OBJECTS
name=
""
xmlns:oneit=
"http://www.1iT.com.au"
>
<NODE
name=
"Script"
factory=
"Vector"
>
<NODE
name=
"DDL"
factory=
"Participant"
class=
"oneit.sql.transfer.RedefineTableOperation"
>
<tableName
factory=
"String"
>
oneit_sec_user_extension
</tableName>
<column
name=
"forgot_password_mail_send_date"
type=
"Date"
nullable=
"true"
/>
<column
name=
"forgot_password_key"
type=
"String"
nullable=
"true"
length=
"10"
/>
</NODE>
</NODE>
</OBJECTS>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment