From 9dec9cc91af88b0d4d3a6e28b8f26235851e7c65 Mon Sep 17 00:00:00 2001 From: alf Date: Wed, 26 Jan 2022 16:58:12 +0300 Subject: [PATCH] fixed error checking additional properties of users --- password_recovery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/password_recovery.php b/password_recovery.php index c44e28d..3802d78 100644 --- a/password_recovery.php +++ b/password_recovery.php @@ -59,7 +59,7 @@ class password_recovery extends rcube_plugin { $this->use_password = ($this->rc->config->get('pr_use_password_plugin') && $this->rc->plugins->load_plugin('password', true)); $new_fields = [ - 'token' => ['type' => 'VARCHAR(255)', 'default' => ''], + 'token' => ['type' => 'VARCHAR(255)', 'default' => '""'], 'token_validity' => ['type' => 'DATETIME' , 'default' => '2000-01-01 00:00:00'] ];