/** * Performs a login, just like Auth::login(), but is callable by the client, * bypassing authentication (used after registation eg.) * @param <type> $user */ public function forceLogin($user) { $this->_session->open(); $this->_session->id = $user->UserId; }