Mercurial Hosting > nabble
comparison src/nabble/view/web/mailing_list/UnsubscribeFromMailingList.java @ 19:18cf4872fd7f
remove anonymous posting
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 29 May 2020 22:58:25 -0600 |
parents | 7ecd1a4ef557 |
children |
comparison
equal
deleted
inserted
replaced
18:862b1ef23e75 | 19:18cf4872fd7f |
---|---|
28 } | 28 } |
29 | 29 |
30 protected void service(HttpServletRequest request,HttpServletResponse response) | 30 protected void service(HttpServletRequest request,HttpServletResponse response) |
31 throws ServletException, IOException | 31 throws ServletException, IOException |
32 { | 32 { |
33 User user = Jtp.getUser(request,response); | 33 User user = Jtp.getUser(request); |
34 | 34 |
35 if (user == null) { | 35 if (user == null) { |
36 Jtp.login("You must login to unsubscribe from a mailing list.", request, response); | 36 Jtp.login("You must login to unsubscribe from a mailing list.", request, response); |
37 return; | 37 return; |
38 } | 38 } |