Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Commit

Permalink
Merge pull request #287 from designvoid/dv-patch-1
Browse files Browse the repository at this point in the history
Update DatbaseUserProvider.php to add missing method
  • Loading branch information
stevebauman committed Mar 27, 2017
2 parents 6cbd9ea + 12814a4 commit f699aaf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Auth/DatabaseUserProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,16 @@ public function createModel()
return new $class;
}

/**
* Gets the name of the Eloquent user model.
*
* @return string
*/
public function getModel()
{
return $this->model;
}

/**
* Binds the LDAP User instance to the Eloquent model.
*
Expand Down

0 comments on commit f699aaf

Please sign in to comment.