Skip to content

Commit

Permalink
Merge pull request #192 from nickfairchild/fix-delete-user
Browse files Browse the repository at this point in the history
fix deleting users
  • Loading branch information
jeffgreco13 authored Aug 8, 2023
2 parents 3858159 + 532ba18 commit 749a7e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/TwoFactorAuthenticatable.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 749a7e2

Please sign in to comment.