Skip to content

Commit

Permalink
DP-516 Remove confirmation code from json response
Browse files Browse the repository at this point in the history
  • Loading branch information
tomonorman committed Jun 7, 2022
1 parent 7c6e9b5 commit 777589a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 777589a

Please sign in to comment.