You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the MySQL database driver for Sessions in my Laravel build. When I retrieve the oneauth object from the Session, I receive and incomplete PHP object.
Hello -
I'm using the MySQL database driver for Sessions in my Laravel build. When I retrieve the oneauth object from the Session, I receive and incomplete PHP object.
To fix this, I must do:
I believe this is due to how the oneauth data is added to the session. See these for reference:
http://stackoverflow.com/questions/1055728/php-session-with-an-incomplete-object
http://stackoverflow.com/questions/2010427/php-php-incomplete-class-object-with-my-session-data
I believe the fix for this would be to NOT add an object directly to the session, but rather add an array of the same data.
I propose this change:
bundles/oneauth/libraries/auth/core.php
line 66:After code change, the session
oneauth
object becomes:I can provide a pull request if desired.
Thanks!
The text was updated successfully, but these errors were encountered: