Skip to content

Commit 7f7b45d

Browse files
committed
simplify default callback of config : user_field
1 parent 33d6d91 commit 7f7b45d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config/lfm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
// Flexibla way to customize client folders accessibility
3232
// Ex: The private folder of user will be named as the user id.
3333
'user_field' => function() {
34-
return empty(auth()->user()) ? '' : auth()->user()->id;
34+
return auth()->user()->id;
3535
},
3636

3737
/*

0 commit comments

Comments
 (0)