|
@@ -146,7 +146,7 @@ Route::post('login', function() {
|
|
$userdata = array(
|
|
$userdata = array(
|
|
'name' => Input::get('user'),
|
|
'name' => Input::get('user'),
|
|
'password' => Input::get('password'));
|
|
'password' => Input::get('password'));
|
|
- if(Auth::attempt($userdata)) {
|
|
|
|
|
|
+ if(Auth::attempt($userdata, true)) {
|
|
return Redirect::intended('/');
|
|
return Redirect::intended('/');
|
|
} else {
|
|
} else {
|
|
echo "Login gescheitert.";
|
|
echo "Login gescheitert.";
|