Commit c411d177 authored by sarojsingh2021's avatar sarojsingh2021
Browse files

remove stubbed

1 merge request!7Institute district
Showing with 1 addition and 3 deletions
+1 -3
...@@ -578,8 +578,6 @@ public class UserServiceImpl implements UserDetailsService, UserService { ...@@ -578,8 +578,6 @@ public class UserServiceImpl implements UserDetailsService, UserService {
@Override @Override
public Boolean validateUserOTP(String username, String otp) { public Boolean validateUserOTP(String username, String otp) {
return Boolean.TRUE;
/*
try { try {
LoginAuthentication loginAuth = Cache.getUserAuthData(username); LoginAuthentication loginAuth = Cache.getUserAuthData(username);
if (loginAuth != null && loginAuth.getOtpExpiryDate() > DateUtil.getCurrentTimestamp() if (loginAuth != null && loginAuth.getOtpExpiryDate() > DateUtil.getCurrentTimestamp()
...@@ -590,7 +588,7 @@ public class UserServiceImpl implements UserDetailsService, UserService { ...@@ -590,7 +588,7 @@ public class UserServiceImpl implements UserDetailsService, UserService {
LOGGER.error(String.format(Constants.EXCEPTION_METHOD, "validateUserOTP", e.getMessage())); LOGGER.error(String.format(Constants.EXCEPTION_METHOD, "validateUserOTP", e.getMessage()));
} }
return Boolean.FALSE; return Boolean.FALSE;
*/
} }
@Override @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