diff --git a/src/Traits/TwoFactorAuthenticatable.php b/src/Traits/TwoFactorAuthenticatable.php index fb4855c..bd798bc 100644 --- a/src/Traits/TwoFactorAuthenticatable.php +++ b/src/Traits/TwoFactorAuthenticatable.php @@ -13,7 +13,7 @@ trait TwoFactorAuthenticatable public static function bootTwoFactorAuthenticatable() { static::deleting(function ($model) { - $this->breezySessions()->get()->each->delete(); + $model->breezySessions()->get()->each->delete(); }); } public function initializeTwoFactorAuthenticatable()