From d3570af12f75ed23ad40b7e51dbf7667b6abc4c4 Mon Sep 17 00:00:00 2001 From: Pierre Date: Sat, 26 May 2018 14:45:08 +0200 Subject: [PATCH] Fix table structure typo --- classes/components/AccountComponent.php | 2 +- db_struct.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;