Skip to content

Commit 176a50b

Browse files
committed
add display_attribute to config
1 parent d971052 commit 176a50b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

config/user-monitoring.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@
4242
* When you are using ulid or uuid, you need to add related traits into the models.
4343
*/
4444
'foreign_key_type' => 'id', // uuid, ulid, id
45+
46+
/*
47+
* If you want to display custom username, you can create your own attribute in User and change this value.
48+
*/
49+
'display_attribute' => 'name',
4550
],
4651

4752
/*

0 commit comments

Comments
 (0)