Mercurial Hosting > nabble
comparison src/nabble/view/web/mailing_list/SubscribeDefaults.jtp @ 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 |
|---|---|
| 26 | 26 |
| 27 protected void service(HttpServletRequest request,HttpServletResponse response) | 27 protected void service(HttpServletRequest request,HttpServletResponse response) |
| 28 throws ServletException, IOException | 28 throws ServletException, IOException |
| 29 { | 29 { |
| 30 PrintWriter out = response.getWriter(); | 30 PrintWriter out = response.getWriter(); |
| 31 User user = Jtp.getUser(request,response); | 31 User user = Jtp.getUser(request); |
| 32 if( user==null ) { | 32 if( user==null ) { |
| 33 Jtp.login("You must login to be able to subscribe to a list.",request,response); | 33 Jtp.login("You must login to be able to subscribe to a list.",request,response); |
| 34 return; | 34 return; |
| 35 } | 35 } |
| 36 Node forum = Jtp.getSiteNotNull(request).getNode(Long.parseLong(request.getParameter("forum"))); | 36 Node forum = Jtp.getSiteNotNull(request).getNode(Long.parseLong(request.getParameter("forum"))); |
