From 777589ae5cc5dc7837fd15ac091d7e2cfcf8be11 Mon Sep 17 00:00:00 2001 From: Tomo Norman Date: Tue, 24 May 2022 11:05:11 +0900 Subject: [PATCH] DP-516 Remove confirmation code from json response --- src/Models/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Models/User.php b/src/Models/User.php index c0b86af6..701706b8 100644 --- a/src/Models/User.php +++ b/src/Models/User.php @@ -110,7 +110,7 @@ class User extends BaseSystemModel implements AuthenticatableContract, CanResetP * * @var array */ - protected $hidden = ['is_sys_admin', 'password', 'remember_token', 'security_answer']; + protected $hidden = ['is_sys_admin', 'password', 'remember_token', 'security_answer', 'confirm_code']; /** * Field type casting