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

Cannot reset password #80

Open
Grey2k opened this issue Oct 1, 2015 · 0 comments
Open

Cannot reset password #80

Grey2k opened this issue Oct 1, 2015 · 0 comments

Comments

@Grey2k
Copy link

Grey2k commented Oct 1, 2015

In User Provider whereis $excude array with 'password' but not with 'password_confirmation' , cause of that laravel try to query db with confirmation field and its error , in old version it was sting contains 'password' check and it was ok, think will be better to add 'password_confirmation' field in $exclude array

protected function appendQueryConditions($query, $conditions, $exclude = ['password'])
    {
        foreach ($conditions as $key => $value)
        {
            if (!in_array($key, $exclude))
            {
                $query->where($key, $value);
            }
        }
    }

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