TESTING: testing authentication
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user