diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-02-04 15:45:48 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-02-04 15:45:48 +0000 |
commit | f0aced6b75e5aa0f313286df1a296a3b768d9b01 (patch) | |
tree | 0f85c9faac827a434291750d361ba7b6481584f7 /modules/user/helpers | |
parent | 5b17619ea82f8d867a38e902fee2f68a0e7858fd (diff) |
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.
Diffstat (limited to 'modules/user/helpers')
-rw-r--r-- | modules/user/helpers/user_installer.php | 2 |
1 files changed, 2 insertions, 0 deletions
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;"); |