[L6] Break search functionality without breaking the entire app

This commit is contained in:
Dane Everitt 2019-09-04 21:21:07 -07:00
parent c97461d602
commit 5b4a65a60c
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
6 changed files with 41 additions and 3 deletions

View file

@ -7,6 +7,7 @@ use Illuminate\Support\Collection;
use Illuminate\Validation\Rules\In;
use Illuminate\Auth\Authenticatable;
use Illuminate\Notifications\Notifiable;
use Pterodactyl\Models\Traits\Searchable;
use Illuminate\Auth\Passwords\CanResetPassword;
use Pterodactyl\Traits\Helpers\AvailableLanguages;
use Illuminate\Foundation\Auth\Access\Authorizable;
@ -20,7 +21,7 @@ class User extends Validable implements
AuthorizableContract,
CanResetPasswordContract
{
use Authenticatable, Authorizable, AvailableLanguages, CanResetPassword, Notifiable;
use Authenticatable, Authorizable, AvailableLanguages, CanResetPassword, Notifiable, Searchable;
const USER_LEVEL_USER = 0;
const USER_LEVEL_ADMIN = 1;