arranging
This commit is contained in:
parent
08a8dbc18b
commit
4b12e03cd3
|
@ -60,7 +60,7 @@ public class CentralMemberTotpService implements MemberTotpService {
|
|||
|
||||
public boolean checkCodeForMember(String memberEmail, String code) throws OverflowException {
|
||||
MemberTotp totp = this.totpDAO.findByMemberEmail(memberEmail);
|
||||
if (null == totp && (totp.getSecretCode() == null || totp.getSecretCode().equals(""))) {
|
||||
if (null == totp || totp.getSecretCode().equals("")) {
|
||||
throw new OverflowException("SignInIdNotExistException", new Throwable());
|
||||
}
|
||||
return this.checkCode(totp.getSecretCode(), code);
|
||||
|
|
Loading…
Reference in New Issue
Block a user