aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java/com/juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-06-20 16:26:16 +0300
committerGravatar Vitaly Takmazov2017-06-20 16:27:23 +0300
commita87b218082b7ed383ee57e26e89bc2d0283299f5 (patch)
tree818f01ebfcd717de8b5b8f5b3311879b224669c3 /juick-www/src/main/java/com/juick
parent5dfc4a2158757d9e882751e22f1456567423f77a (diff)
drop secret mail feature
Diffstat (limited to 'juick-www/src/main/java/com/juick')
-rw-r--r--juick-www/src/main/java/com/juick/www/controllers/Settings.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/juick-www/src/main/java/com/juick/www/controllers/Settings.java b/juick-www/src/main/java/com/juick/www/controllers/Settings.java
index d2b65661..6fa3fd2e 100644
--- a/juick-www/src/main/java/com/juick/www/controllers/Settings.java
+++ b/juick-www/src/main/java/com/juick/www/controllers/Settings.java
@@ -181,15 +181,6 @@ public class Settings {
result = "<p>Error</p>";
}
break;
- case "email":
- String newHash = userService.updateSecretEmail(visitor);
- if (StringUtils.isNotEmpty(newHash)) {
- result = String.format("<p>New secret email: <strong>%s@mail.juick.com</strong></p>" +
- "<p><a href=\"/settings\">Back</a>.</p>", newHash);
- } else {
- throw new HttpBadRequestException();
- }
- break;
case "email-add":
if (!emailService.verifyAddressByCode(visitor.getUid(), request.getParameter("account"))) {
String authCode = UserUtils.generateHash(8);