Skip to content

Commit 2aa11c1

Browse files
committedDec 24, 2022
优化:用户敏感信息安全性优化
·
v2.7.7v2.1.7
1 parent c7bdce0 commit 2aa11c1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎app/Plugins/User/src/Models/User.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ class User extends Model
4343
protected $hidden = [
4444
'password',
4545
'_token',
46-
'email'
46+
'email',
47+
'phone',
48+
'phone_ver_time',
49+
'email_ver_time',
4750
];
4851
/**
4952
* The attributes that should be cast to native types.

0 commit comments

Comments
 (0)
Please sign in to comment.