Unverified Commit effd80a5 authored by Mahesh Maney R's avatar Mahesh Maney R Committed by GitHub
Browse files

Merge pull request #4 from UPHRH-platform/sessionTimeout

uncommenting verifyotp code commented by Saroj <ManeyMR>.
Showing with 0 additions and 4 deletions
+0 -4
......@@ -564,9 +564,6 @@ public class UserServiceImpl implements UserDetailsService, UserService {
@Override
public Boolean validateUserOTP(String username, String otp) {
return Boolean.TRUE;
/*
try {
LoginAuthentication loginAuth = Cache.getUserAuthData(username);
if (loginAuth != null && loginAuth.getOtpExpiryDate() > DateUtil.getCurrentTimestamp()
......@@ -577,7 +574,6 @@ public class UserServiceImpl implements UserDetailsService, UserService {
LOGGER.error(String.format(Constants.EXCEPTION_METHOD, "validateUserOTP", e.getMessage()));
}
return Boolean.FALSE;
*/
}
@Override
......
Supports Markdown
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