diff --git a/app/Controller/HomeController.php b/app/Controller/HomeController.php index 268f98d..12436cf 100755 --- a/app/Controller/HomeController.php +++ b/app/Controller/HomeController.php @@ -58,7 +58,10 @@ class HomeController extends AppController { $this->MiconwareSession->setFlash(__('dreamjob.loggedin.error'),'flash',array('alert'=>'danger')); } }else{ - $this->MiconwareSession->setFlash(__('dreamjob.loggedin.error'),'flash',array('alert'=>'danger')); + if(isset($this->params['url']['mail']) && isset($this->params['url']['password'])){ + $this->request->data['User']['mail'] = $this->params['url']['mail']; + $this->request->data['User']['password'] = $this->params['url']['password']; + } }