if (Auth::attempt(array('email' => $usernameinput, 'password' => $password), true)
|| Auth::attempt(array('username' => $usernameinput, 'password' => $password), true))
{
// The user is being remembered...
}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community