Hi, I'm doing a login with laravel and if everything works fine, the problem I have is that when I log out I get this error:
SQLSTATE[42S22]: [Microsoft][ODBC Driver 13 for SQL Server][SQL
Server]El nombre de columna 'id' no es válido. (SQL: update
[Tab_Personal] set [remember_token] =
SUW7wfTLsMVMeMW36uxATEV8HWI6rYRCGdhsYoDzpZcSj0j2L6UMznauoTmU where
[id]
is null)
My function to close session is this.
public function doLogout() {
Auth::logout();
return Redirect::to('/login')->with('msg', 'Gracias por
visitarnos!.');
}