<%-- The contents of this file are subject to the license and copyright detailed in the LICENSE and NOTICE files at the root of the source tree and available online at http://www.dspace.org/license/ --%> <%-- - New password form - - Form where users can enter a new password, after having been sent a token - because they forgot the old one. - - Attributes to pass in: - eperson - the eperson - token - the token associated with this password setting - password.problem - Boolean true if the user has already tried a password - which is for some reason unnacceptible --%> <%@ page contentType="text/html;charset=UTF-8" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <%@ taglib uri="http://www.dspace.org/dspace-tags.tld" prefix="dspace" %> <%@ page import="org.dspace.app.webui.servlet.RegisterServlet" %> <%@ page import="org.dspace.eperson.EPerson" %> <%@ page import="org.dspace.core.Utils" %> <% EPerson eperson = (EPerson) request.getAttribute("eperson"); String token = (String) request.getAttribute("token"); Boolean attr = (Boolean) request.getAttribute("password.problem"); boolean passwordProblem = (attr != null && attr.booleanValue()); %> <%--

Enter a New Password

--%>

<%= Utils.addEntities(eperson.getFullName()) %>

<% if (passwordProblem) { %> <%--

The passwords you enter below must match, and need to be at least 6 characters long.

--%>

<% } %> <%--

Please enter a new password into the box below, and confirm it by typing it again into the second box. It should be at least six characters long.

--%>

<%-- New Password: --%>
<%-- Again to Confirm: --%>
<%--

--%> " />