From f0aced6b75e5aa0f313286df1a296a3b768d9b01 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Wed, 4 Feb 2009 15:45:48 +0000 Subject: Complete the Recover Password functionality (Ticket #5). This change requires a reinstall in order to pick up the new hash field in the user table. --- modules/user/helpers/user_installer.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/user/helpers/user_installer.php') diff --git a/modules/user/helpers/user_installer.php b/modules/user/helpers/user_installer.php index a9b605dc..8f2f25a6 100644 --- a/modules/user/helpers/user_installer.php +++ b/modules/user/helpers/user_installer.php @@ -33,8 +33,10 @@ class user_installer { `email` varchar(64) default NULL, `admin` BOOLEAN default 0, `guest` BOOLEAN default 0, + `hash` char(32) default NULL, `url` varchar(255) default NULL, PRIMARY KEY (`id`), + UNIQUE KEY(`hash`), UNIQUE KEY(`name`)) ENGINE=InnoDB DEFAULT CHARSET=utf8;"); -- cgit v1.2.3