From e9c36f02dc3fcb2c6a11bccc432515e2bedcddbd Mon Sep 17 00:00:00 2001
From: Sofia Baltzi <>
Date: Mon, 23 Oct 2017 13:04:57 +0000
Subject: [PATCH] update xml code for mail activation
---
.../openaire/usermanagement/RegisterServlet.java | 2 +-
src/main/webapp/WEB-INF/web.xml | 13 +++++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/src/main/java/eu/dnetlib/openaire/usermanagement/RegisterServlet.java b/src/main/java/eu/dnetlib/openaire/usermanagement/RegisterServlet.java
index 8d77525..141289b 100644
--- a/src/main/java/eu/dnetlib/openaire/usermanagement/RegisterServlet.java
+++ b/src/main/java/eu/dnetlib/openaire/usermanagement/RegisterServlet.java
@@ -62,7 +62,7 @@ public class RegisterServlet extends HttpServlet {
response.sendRedirect("./error.jsp");
}
}
- response.sendRedirect("./verifyEmail.jsp");
+ response.sendRedirect("./activate.jsp");
printWriter.close();
}
diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml
index 284a098..8c052a3 100644
--- a/src/main/webapp/WEB-INF/web.xml
+++ b/src/main/webapp/WEB-INF/web.xml
@@ -75,6 +75,19 @@
/verifyCode
+
+ ActivationCodeServlet
+ Activate
+ eu.dnetlib.openaire.usermanagement.ActivationCodeServlet
+ 1
+
+
+
+ ActivationCodeServlet
+ /activate
+
+
+
ResetPasswordServlet
Reset password