Skip to content

Commit

Permalink
Merge pull request Zizaco#809 from klgd/patch-1
Browse files Browse the repository at this point in the history
fix auth users model
  • Loading branch information
Zizaco authored Nov 13, 2017
2 parents 05b2542 + 13ee438 commit 838f99f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entrust/Traits/EntrustUserTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public static function boot()
parent::boot();

static::deleting(function($user) {
if (!method_exists(Config::get('auth.model'), 'bootSoftDeletes')) {
if (!method_exists(Config::get('auth.providers.users.model'), 'bootSoftDeletes')) {
$user->roles()->sync([]);
}

Expand Down

0 comments on commit 838f99f

Please sign in to comment.