Skip to content

Instantly share code, notes, and snippets.

@Sarav-S
Last active September 23, 2016 02:10
Show Gist options
  • Save Sarav-S/588db07b3cd3aa0103b676de423f230a to your computer and use it in GitHub Desktop.
Save Sarav-S/588db07b3cd3aa0103b676de423f230a to your computer and use it in GitHub Desktop.
<?php
$credentials = [
'email' => $request->input('email'),
'password' => $request->input('password')
];
if (Auth::attempt($credentials, $request->has('remember'))) {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment