diff --git a/src/Illuminate/Auth/Events/Login.php b/src/Illuminate/Auth/Events/Login.php index 0afc486055f4..881674593c94 100644 --- a/src/Illuminate/Auth/Events/Login.php +++ b/src/Illuminate/Auth/Events/Login.php @@ -2,8 +2,12 @@ namespace Illuminate\Auth\Events; +use Illuminate\Queue\SerializesModels; + class Login { + use SerializesModels; + /** * The authenticated user. * diff --git a/src/Illuminate/Auth/Events/Logout.php b/src/Illuminate/Auth/Events/Logout.php index 4ac69707969c..18fe2d1a1fc0 100644 --- a/src/Illuminate/Auth/Events/Logout.php +++ b/src/Illuminate/Auth/Events/Logout.php @@ -2,8 +2,11 @@ namespace Illuminate\Auth\Events; +use Illuminate\Queue\SerializesModels; + class Logout { + use SerializesModels; /** * The authenticated user. *