Skip to content

Commit

Permalink
Merge pull request #44 from optik/patch-1
Browse files Browse the repository at this point in the history
Config vars ineffective when instantiating with attributes
  • Loading branch information
nWidart committed Jan 1, 2016
2 parents 63032a2 + 194788c commit ce13bfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Entities/Sentinel/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ class User extends EloquentUser implements UserInterface

public function __construct(array $attributes = [])
{
parent::__construct($attributes);

$this->loginNames = config('asgard.user.users.login-columns');
$this->fillable = config('asgard.user.users.fillable');

parent::__construct($attributes);
}

/**
Expand Down

0 comments on commit ce13bfc

Please sign in to comment.