Skip to content

Commit

Permalink
Merge branch 'master' into feature/ReorganizeClientField
Browse files Browse the repository at this point in the history
  • Loading branch information
luciaGarciaMiguelanez committed Apr 9, 2024
2 parents 87576ff + fdaf76c commit 5272f8d
Showing 1 changed file with 21 additions and 32 deletions.
53 changes: 21 additions & 32 deletions tntconcept-web/src/main/webapp/linkEmailVerification.jsp
Original file line number Diff line number Diff line change
@@ -1,41 +1,30 @@

<%@page language="java" contentType="text/html; charset=UTF-8"%>
<%@page import="com.autentia.tnt.util.*,com.autentia.tnt.manager.security.*"%>
<%@page contentType="text/html; charset=UTF-8" %>
<%@ page import="java.util.Objects, com.autentia.tnt.bean.LinkBean" %>
<%@include file="/inc/tlibs.jsp" %>
<%@page import="com.autentia.tnt.bean.LinkBean"%>


<f:loadBundle basename="com.autentia.tnt.resources.messages" var="msg" />
<f:loadBundle basename="com.autentia.tnt.resources.messages" var="msg"/>
<html>

<f:view>

<%@include file="/inc/publicHeader.jsp"%>

<head>
<%@include file="/inc/uiCore.jsp"%>

<head title="">
<%@include file="/inc/uiCore.jsp" %>
</head>
<html>
<head>
<title>
</title>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<%
String link = request.getParameter("link");
LinkBean linkBean = new LinkBean();
String password = linkBean.checkLinkAndResetPassword(link);
<f:view>
<%@include file="/inc/publicHeader.jsp" %>
<body marginwidth="0" marginheight="0">
<%
String method = request.getMethod();
if (Objects.equals(method, "GET")) {
String link = request.getParameter("link");
LinkBean linkBean = new LinkBean();
String password = linkBean.checkLinkAndResetPassword(link);
%>

<div align="center" style="top:50px">
<br>
<p><%= password %></p>
</div>


<div style="top:50px; text-align: center">
<p><%= password %></p>
</div>
<% } %>
</body>
</f:view>
</f:view>

</html>


0 comments on commit 5272f8d

Please sign in to comment.