]> WPIA git - gigi.git/blobdiff - src/club/wpia/gigi/pages/PasswordResetPage.java
upd: use a link-redirector for all external links.
[gigi.git] / src / club / wpia / gigi / pages / PasswordResetPage.java
index 7dc950cacd72fe49eafdf36ac3021a8907052402..3608549cf4ba00249a021f8866f7d1a4998a366c 100644 (file)
@@ -94,14 +94,14 @@ public class PasswordResetPage extends Page {
     public void doPost(HttpServletRequest req, HttpServletResponse resp) throws IOException {
         if (Form.printFormErrors(req, resp.getWriter())) {
             PasswordResetForm form = Form.getForm(req, PasswordResetForm.class);
-            form.output(resp.getWriter(), getLanguage(req), new HashMap<String, Object>());
+            form.output(resp.getWriter(), getLanguage(req), getDefaultVars(req));
         }
     }
 
     @Override
     public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException {
         try {
-            new PasswordResetForm(req).output(resp.getWriter(), getLanguage(req), new HashMap<String, Object>());
+            new PasswordResetForm(req).output(resp.getWriter(), getLanguage(req), getDefaultVars(req));
         } catch (GigiApiException e) {
             e.format(resp.getWriter(), getLanguage(req));
         }