Skip to content

Commit

Permalink
Use integer value for has_ever_logged_in
Browse files Browse the repository at this point in the history
  • Loading branch information
kberzinch committed Sep 8, 2024
1 parent 3095097 commit f98e85e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Nova/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function fields(NovaRequest $request): array
return [
Hidden::make('Has Ever Logged In')
->showOnCreating()
->default(static fn (Request $r): bool => false),
->default(static fn (Request $r): int => 0),

Text::make('Username', 'uid')
->sortable()
Expand Down

0 comments on commit f98e85e

Please sign in to comment.