Skip to content
This repository was archived by the owner on Feb 16, 2024. It is now read-only.

Commit ac76308

Browse files
committed
👮‍♂️ Security fix to hide password from toArray/toJson commands.
1 parent ef4fe2f commit ac76308

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Models/User.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ class User extends Authenticatable implements MustVerifyEmail, HasLocalePreferen
5353
*/
5454
protected $hidden = [
5555
'remember_token',
56+
'password',
5657
];
5758

5859
/**

0 commit comments

Comments
 (0)