forked from mrlan/LRR
Merge pull request #71 from lanlab-org/Hui-IncorporateChangesMadeByEnock
recover_password.php: require that the two fields must not be empty.SIMPLICITY_Bug-189_Course_Delete_btn
commit
d5c40795a8
|
@ -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