Created
August 12, 2013 08:36
-
-
Save Ardakilic/6209125 to your computer and use it in GitHub Desktop.
Laravel 4 User Class Extending Sentry If you use Sentry2 like me with Laravel 4, When using User model, you will get some errors. To prevent these, alter your user.php like this:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//use Illuminate\Auth\UserInterface; | |
//use Illuminate\Auth\Reminders\RemindableInterface; | |
class User extends Cartalyst\Sentry\Users\Eloquent\User { | |
//your shiny code comes here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment