Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Auth::loginUsingId($id) do not return Illuminate\Auth\UserInterface #2871

Closed
raftalks opened this issue Dec 5, 2013 · 0 comments
Closed

Comments

@raftalks
Copy link
Contributor

raftalks commented Dec 5, 2013

/**
     * Log the given user ID into the application.
     *
     * @param  mixed  $id
     * @param  bool   $remember
     * @return \Illuminate\Auth\UserInterface
     */
    public function loginUsingId($id, $remember = false)
    {
        $this->session->put($this->getName(), $id);

        return $this->login($this->provider->retrieveById($id), $remember);
    }

expects the above method to return UserInterface but in calling $this->login method, the actual login method doesn't return anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant