magniloquent icon indicating copy to clipboard operation
magniloquent copied to clipboard

Extending this class breaks Laravel remember_token functionality

Open ShaneG opened this issue 10 years ago • 6 comments

The User model, that is.

ShaneG avatar Jul 06 '14 17:07 ShaneG

What breaks?

philipbrown avatar Jul 07 '14 19:07 philipbrown

Sorry about the short issue, I only had a few seconds and wanted to remember!

When I extend this class with the built-in User model instead of /Eloquent the remember_token stuff quits working.

No errors are thrown, it just doesn't set or use the token at all.

ShaneG avatar Jul 07 '14 19:07 ShaneG

Are you implementing the RemindableTrait ?https://github.com/laravel/laravel/blob/master/app/models/User.php#L5

philipbrown avatar Jul 08 '14 17:07 philipbrown

@philipbrown Yes I am implementing RemindableTrait.

Will I not be able to extend this class when implementing RemindableTrait?

ShaneG avatar Jul 10 '14 14:07 ShaneG

Do you have a repository of it not working?

philipbrown avatar Jul 10 '14 17:07 philipbrown

@philipbrown I do not have a repo showing it that I can share right now, but will create one at some point soon.

ShaneG avatar Aug 03 '14 19:08 ShaneG