Skip to content

Commit e22b2bc

Browse files
committed
DP-516 Remove confirmation code from json response
1 parent 67c3361 commit e22b2bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Models/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class User extends BaseSystemModel implements AuthenticatableContract, CanResetP
110110
*
111111
* @var array
112112
*/
113-
protected $hidden = ['is_sys_admin', 'password', 'remember_token', 'security_answer'];
113+
protected $hidden = ['is_sys_admin', 'password', 'remember_token', 'security_answer', 'confirm_code'];
114114

115115
/**
116116
* Field type casting

0 commit comments

Comments
 (0)