forked from mrlan/LRR
recover_password.php: require that the two fields must not be empty.
parent
99063b17f8
commit
197e557963
|
@ -27,9 +27,9 @@ include 'Header.php';
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<form method="post" action="Script.php">
|
<form method="post" action="Script.php">
|
||||||
<input type="hidden" name="frm_recover_password" value="true"/>
|
<input type="hidden" name="frm_recover_password" value="true"/>
|
||||||
Student number <input type="text" name="sno" placeholder="Enter your student number" class="form-control" value="<?php echo $_SESSION['student_number']; ?>">
|
Student number <input type="text" name="sno" placeholder="Enter your student number" class="form-control" required="required" value="<?php echo $_SESSION['student_number']; ?>">
|
||||||
<br/>
|
<br/>
|
||||||
Email <input type="text" name="email" placeholder="Enter your email address" class="form-control" value="<?php echo $_SESSION['user_email']; ?>">
|
Email <input type="text" name="email" placeholder="Enter your email address" class="form-control" required="required" value="<?php echo $_SESSION['user_email']; ?>">
|
||||||
<br/>
|
<br/>
|
||||||
<input type="submit" class="btn-primary" value="Recover">
|
<input type="submit" class="btn-primary" value="Recover">
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue