diff --git a/app/Controllers/Common/AuthController.php b/app/Controllers/Common/AuthController.php index 92236e9..53b0217 100644 --- a/app/Controllers/Common/AuthController.php +++ b/app/Controllers/Common/AuthController.php @@ -58,11 +58,11 @@ class AuthController extends BaseController return view('auth/login', $this->_viewDatas); } - public function signin(string $adapter) + public function signin(string $site) { try { //각 Adapter별 인층체크 후 Session에 인증정보 설정 - $this->getAdapter($adapter)->signin($this->request->getVar()); + $this->getAdapter($site)->signin($this->request->getVar()); $return_url = session()->get(LOGINS['RETURN_URL']) ? session()->get(LOGINS['RETURN_URL']) : "/"; return redirect()->to($this->request->getVar(LOGINS['RETURN_URL']) ? $this->request->getVar(LOGINS['RETURN_URL']) : $return_url); } catch (\Exception $e) {