Update UserAccountDelete command

pull/6917/head
Daniel Supernault 4 weeks ago
parent 0679216fa2
commit 51beaa30d1
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

@ -242,7 +242,7 @@ class UserAccountDelete extends Command
placeholder: 'john.appleseed',
options: fn (string $value) => strlen($value) > 0
? User::withTrashed()
->whereStatus('deleted')
->whereIn('status', ['deleted', 'delete'])
->where('username', 'like', "%{$value}%")
->pluck('username', 'id')
->all()

Loading…
Cancel
Save