From a87b218082b7ed383ee57e26e89bc2d0283299f5 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 20 Jun 2017 16:26:16 +0300 Subject: drop secret mail feature --- juick-www/src/main/java/com/juick/www/controllers/Settings.java | 9 --------- juick-www/src/main/webapp/WEB-INF/views/settings_main.html | 6 +----- 2 files changed, 1 insertion(+), 14 deletions(-) (limited to 'juick-www') 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 = "

Error

"; } break; - case "email": - String newHash = userService.updateSecretEmail(visitor); - if (StringUtils.isNotEmpty(newHash)) { - result = String.format("

New secret email: %s@mail.juick.com

" + - "

Back.

", newHash); - } else { - throw new HttpBadRequestException(); - } - break; case "email-add": if (!emailService.verifyAddressByCode(visitor.getUid(), request.getParameter("account"))) { String authCode = UserUtils.generateHash(8); diff --git a/juick-www/src/main/webapp/WEB-INF/views/settings_main.html b/juick-www/src/main/webapp/WEB-INF/views/settings_main.html index 7a95f2a9..e5342229 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/settings_main.html +++ b/juick-www/src/main/webapp/WEB-INF/views/settings_main.html @@ -101,11 +101,7 @@ {% endif %}

 

You can post to Juick via e-mail. Send your plain text - messages to special secret e-mail. You can attach one photo or video file.

-

Secret email: {% if ehash is not empty %} {{ ehash }} {% else %}-{% endif %}

-
-

-
+ messages to juick@juick.com. You can attach one photo or video file.

-- cgit v1.2.3