Foros de discusión
Reminder question answers--can the check be made case-insensitive?
Rob Hall, modificado hace 10 años.
Reminder question answers--can the check be made case-insensitive?
Junior Member Mensajes: 47 Fecha de incorporación: 30/11/11 Mensajes recientes
Is there a portal property that turns off case-sensitive questions to Reminder Question Answer validation? For example--if a reminder question is something like What Was the name of your first pet' and a user's answer is 'Fido' then if the user enters 'FIDO' or 'fido' the validation fails. Can the validation be made case-insensitive (i.e. ignore case for answers) ?
Harish Kumar, modificado hace 10 años.
RE: Reminder question answers--can the check be made case-insensitive?
Expert Mensajes: 483 Fecha de incorporación: 31/07/10 Mensajes recientes
Hi Rob
You need to customize the ForgotPasswordAction.java class. Please check
in
you can use struts action hook to customize this.
Regards
You need to customize the ForgotPasswordAction.java class. Please check
if (!user.getReminderQueryAnswer().equals(answer)) {
throw new UserReminderQueryException();
}
in
protected void sendPassword(
ActionRequest actionRequest, ActionResponse actionResponse)
throws Exception {
you can use struts action hook to customize this.
Regards