diff --git a/vendor/action/users/users_access.php b/vendor/action/users/users_access.php index fa9a9ce..19a8869 100644 --- a/vendor/action/users/users_access.php +++ b/vendor/action/users/users_access.php @@ -66,7 +66,7 @@ try{ $_SESSION['USERSID'] = (int)$UsersResult->user_id; $_SESSION['USERSACLID'] = (int)$UsersResult->users_acl_id; $_SESSION['USERSEMAIL'] = (string)$UsersResult->email; - $_SESSION['USERSNAMEFIRST'] = $Main->decryptData((string)$UsersResult->name_first); + $_SESSION['USERSNAMEFIRST'] = (string)$UsersResult->nickname; $_SESSION['USERSACCESSFIRST'] = (string)$UsersResult->access_first; $_SESSION['USERSACCESSLAST'] = (string)$UsersResult->access_last; diff --git a/vendor/model/Users.class.php b/vendor/model/Users.class.php index 89220ef..e39b8d2 100644 --- a/vendor/model/Users.class.php +++ b/vendor/model/Users.class.php @@ -254,8 +254,8 @@ class Users /** Consulta SQL */ $this->sql = 'select u.user_id, u.company_id, - u.name_first, - u.name_last, + u.nickname, + u.name, u.email, u.password, u.active,