mitchellvanw / laravel-doctrine

NO LONGER MAINTAINED! A Doctrine 2 implementation that melts with Laravel
MIT License
187 stars 74 forks source link

Fixes for L5 native auth functionality. Updated contract in DoctrineUser... #100

Open minorgod opened 9 years ago

minorgod commented 9 years ago

Fixes for L5 native auth functionality. Updated contract in DoctrineUserProvider.php. Tweaked a couple of things in Traits/Authentication.php - changed function getAuthIdentifier to return the primary key value rather than the primary key name, and to return 'rememberToken' instead of remember_token in the getRememberTokenName function. Fixed a prob with the Validation/DoctrinePresenceVerifier that was causing it to always return null leading to duplicate users.