aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/www/api/Service.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/www/api/Service.java')
-rw-r--r--src/main/java/com/juick/www/api/Service.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/main/java/com/juick/www/api/Service.java b/src/main/java/com/juick/www/api/Service.java
index 1e3dcdc8..41fdcfbf 100644
--- a/src/main/java/com/juick/www/api/Service.java
+++ b/src/main/java/com/juick/www/api/Service.java
@@ -79,8 +79,6 @@ public class Service {
private User serviceUser;
@Inject
private StorageService storageService;
- @Value("${banned_emails:}")
- private String[] ignoredEmails;
@Inject
private ServerManager serverManager;
@@ -186,12 +184,7 @@ public class Service {
}
}
} else {
- if (!Arrays.asList(ignoredEmails).contains(from)) {
- String verificationCode = RandomStringUtils.randomAlphanumeric(8).toUpperCase();
- emailService.addVerificationCode(null, from, verificationCode);
- applicationEventPublisher
- .publishEvent(new AccountVerificationEvent(this, from, verificationCode));
- }
+ logger.info("Unknown user: {}", from);
}
} catch (AddressException e) {
logger.info("Got email with invalid from address");