update xml code for mail activation

This commit is contained in:
Sofia Baltzi 2017-10-23 13:04:57 +00:00
parent 40f68707db
commit e9c36f02dc
2 changed files with 14 additions and 1 deletions

View File

@ -62,7 +62,7 @@ public class RegisterServlet extends HttpServlet {
response.sendRedirect("./error.jsp");
}
}
response.sendRedirect("./verifyEmail.jsp");
response.sendRedirect("./activate.jsp");
printWriter.close();
}

View File

@ -75,6 +75,19 @@
<url-pattern>/verifyCode</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>ActivationCodeServlet</servlet-name>
<display-name>Activate</display-name>
<servlet-class>eu.dnetlib.openaire.usermanagement.ActivationCodeServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>ActivationCodeServlet</servlet-name>
<url-pattern>/activate</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>ResetPasswordServlet</servlet-name>
<display-name>Reset password</display-name>