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
Using Laravel 5.4. Doctrine is handling the users model.
When certain extensions are enabled (those using ResolveUserDecorator) Doctrine, on loading, will attempt to load the user, due to this part in ResolveUserDecorator.php:70:
if ($this->auth->check()) {
call_user_func([$this->wrapped, $this->userSetterMethod], $this->auth->user());
}
Since the user is loaded by Doctrine, Laravel will attempt to load Doctrine, which will attempt to load the user... You get the idea.
How can this be worked around to prevent a loop?
The text was updated successfully, but these errors were encountered:
Using Laravel 5.4. Doctrine is handling the users model.
When certain extensions are enabled (those using
ResolveUserDecorator
) Doctrine, on loading, will attempt to load the user, due to this part inResolveUserDecorator.php:70
:Since the user is loaded by Doctrine, Laravel will attempt to load Doctrine, which will attempt to load the user... You get the idea.
How can this be worked around to prevent a loop?
The text was updated successfully, but these errors were encountered: