Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean isLicenseValid(String email, String license) {
- if (email == null || license == null) {
- return false;
- }
- // Little point in doing anything more fancy, since there are
- // easier ways to disable the nag messages.
- return license.equalsIgnoreCase(StringUtil.md5Hex(email.toLowerCase()));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement