diff --git a/classes/components/AccountComponent.php b/classes/components/AccountComponent.php index c12e1b9..beb46a3 100644 --- a/classes/components/AccountComponent.php +++ b/classes/components/AccountComponent.php @@ -302,7 +302,7 @@ class AccountComponent { //Prepare database update $modifs = array( - "pasword_reset_token" => $token, + "password_reset_token" => $token, "password_reset_token_time_create" => time() ); diff --git a/db_struct.sql b/db_struct.sql index 510c6d7..befa09f 100644 --- a/db_struct.sql +++ b/db_struct.sql @@ -484,7 +484,7 @@ CREATE TABLE `utilisateurs` ( `allow_multilogin` int(11) NOT NULL DEFAULT '0', `allow_piwik` int(11) NOT NULL DEFAULT '1', `public_note` varchar(255) DEFAULT NULL, - `pasword_reset_token` varchar(255) DEFAULT NULL, + `password_reset_token` varchar(255) DEFAULT NULL, `password_reset_token_time_create` int(11) DEFAULT NULL, PRIMARY KEY (`ID`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1;