TESTING: testing authentication

This commit is contained in:
Michal Kváček
2016-01-21 02:37:40 +01:00
parent 035ba92cf5
commit 4b330fad0d
2 changed files with 10 additions and 72 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ class Login extends Controller
return;
}
if (Auth::attempt(['email' => $request->email, 'password' => $request->password])) {
if (Auth::attempt($request->only('email', 'password'))) {
echo "prihlaseni uspesne";
return;