Created HTML and PHP files for 'forgot password' functionality

This commit is contained in:
2023-09-02 16:40:20 -05:00
parent 3ea851318c
commit ae67739eed
2 changed files with 52 additions and 0 deletions

10
forgotpassword.php Normal file
View 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.
?>