Update:
I have a problem with my logout action when I was working in Laravel 4, it works with fin, but in laravel 4.1 I have this error:
Missing argument 2 for Illuminate\Database\Eloquent\Model::setAttribute(), called in C:\Users\mohammed\workspace\mylittlebiz\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Model.php on line 2432 and defined
this is my action:
public function doLogout() { Auth::logout();
this is my model:
use Illuminate\Auth\UserInterface; use Illuminate\Auth\Reminders\RemindableInterface; class User extends Eloquent implements UserInterface, RemindableInterface { protected $table = 'users'; protected $hidden = array('password'); public function getAuthIdentifier() { return $this->getKey(); } public function getAuthPassword() { return $this->password; } public function getReminderEmail() { return $this->email; } public function getRememberToken(){} public function setRememberToken($value){} public function getRememberTokenName(){}
source share