Project

General

Profile

« Previous | Next » 

Revision 49408

Added by Sofia Baltzi over 6 years ago

Add username transfer with session - it workssvn st!

View differences:

resetPassword.jsp
1 1
<!DOCTYPE html>
2 2
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
3
<%String name=(String)request.getAttribute("name");
4
  out.print("your name"+name);%>
3 5
<html lang="en-gb" dir="ltr" vocab="http://schema.org/">
4 6
<head>
5 7
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
......
49 51
                      <div id="registerForm">
50 52
                        <form action="resetPassword" method="POST" role="form" class="m-t" id="register_form" >
51 53
                          <input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}"/>
54
                          <%--<input type="hidden" name="username" value="${username}"/>--%>
52 55
                          <div class="alert alert-success" aria-hidden="true" style="display: none;"></div>
53 56
                          <div class="alert alert-danger" aria-hidden="true" style="display: none;"></div>
54 57
                            <div class="form-group">

Also available in: Unified diff