Allow portal contacts to reset their passwords via email

This commit is contained in:
Marcus Hill
2022-10-01 21:32:19 +01:00
parent 851ca7fae5
commit 6529ff8bbf
6 changed files with 349 additions and 23 deletions

1
db.sql
View File

@@ -327,6 +327,7 @@ CREATE TABLE `contacts` (
`contact_notes` text DEFAULT NULL,
`contact_auth_method` varchar(200) DEFAULT NULL,
`contact_password_hash` varchar(200) DEFAULT NULL,
`contact_password_reset_token` varchar(200) DEFAULT NULL,
`contact_important` tinyint(1) NOT NULL DEFAULT 0,
`contact_created_at` datetime NOT NULL DEFAULT current_timestamp(),
`contact_updated_at` datetime DEFAULT NULL ON UPDATE current_timestamp(),