From c845f84c9da10bab4296758a10e9867aaf7315ce Mon Sep 17 00:00:00 2001 From: REJack Date: Tue, 11 Dec 2018 17:02:03 +0100 Subject: [PATCH] updated UserModel --- application/Models/Aauth/UserModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/Models/Aauth/UserModel.php b/application/Models/Aauth/UserModel.php index 63ccd86..73d46b7 100644 --- a/application/Models/Aauth/UserModel.php +++ b/application/Models/Aauth/UserModel.php @@ -138,7 +138,7 @@ class UserModel extends Model $this->validationRules['password'] = 'if_exist|min_length[' . $this->config->passwordMin . ']|max_length[' . $this->config->passwordMax . ']'; $this->validationRules['username'] = 'if_exist|is_unique[' . $this->table . '.username,id,{id}]|regex_match[/' . $this->config->userRegexPattern . '/]'; - parent::update($id, $data); + return parent::update($id, $data); } /** * Update last login by User ID