Created HTML and PHP files for 'forgot password' functionality
This commit is contained in:
10
forgotpassword.php
Normal file
10
forgotpassword.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
session_start();
|
||||
require_once 'db.inc.php';
|
||||
$email = $_POST['email'];
|
||||
$session = init_cass_db();
|
||||
|
||||
// Create a hash of the email and the timestamp, and send an email with a link that contains the hash as a GET variable.
|
||||
|
||||
|
||||
?>
|
Reference in New Issue
Block a user