Skip to content

Commit

Permalink
fix auth users model
Browse files Browse the repository at this point in the history
  • Loading branch information
klgd authored Jun 30, 2017
1 parent 2a05acd commit 13ee438
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 @@ -71,7 +71,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 13ee438

Please sign in to comment.