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