Revision 49518
Added by Sofia Baltzi over 6 years ago
VerificationActions.java | ||
---|---|---|
62 | 62 |
|
63 | 63 |
userVerificationDAO.update(userVerification); |
64 | 64 |
|
65 |
logger.info("Update user: " + username + " with verification code " + verificationCode); |
|
65 |
//logger.info("Update user: " + username + " with verification code " + verificationCode);
|
|
66 | 66 |
|
67 | 67 |
} catch (SQLException e) { |
68 | 68 |
logger.error("Fail to update user.", e); |
... | ... | |
108 | 108 |
logger.info("User: " + username + " was found!"); |
109 | 109 |
|
110 | 110 |
if (verificationCode.equals(userVerification.getVerificationCode())) { |
111 |
logger.info("... and verification code: " + verificationCode + " is correct!"); |
|
111 |
logger.info("Verification Code is correct!"); |
|
112 |
//logger.info("... and verification code: " + verificationCode + " is correct!"); |
|
112 | 113 |
return true; |
113 | 114 |
} |
114 | 115 |
} |
Also available in: Unified diff
Change and remove logger.info messages