How to overridden of login portlet for adding OTP field in login.jsp

thumbnail
Kiran Yalavali, modified 6 Years ago. Regular Member Posts: 175 Join Date: 10/15/14 Recent Posts
Hi All, 

I need to implement of below requirement.

user an enter credentials of username and pwd and click on Sign in, authenticateByEmailAddress() method will be called for validating user credentials with database and returns success/ failure.
 If the validation is success, user will be landed on login.jsp at that time the OTP send to email and copy the OTP and paste into OTP field in login.jsp . 
 After OTP field is entered and clicked on Submit button, processAction is called and redirected to the respective page.



Please help me.


Thank you,
Kiran.