protected function complete() { $params = array(); if ($this->autoLogin) { $params['destination'] = 'admin'; } else { $params['destination'] = 'index.php'; } $this->render('complete', $params); }