This commit is contained in:
Geno 2015-01-05 19:55:59 +01:00
parent 6b04d223a4
commit 35f265dd11
1 changed files with 4 additions and 1 deletions

View File

@ -58,7 +58,10 @@ class HomeController extends AppController {
$this->MiconwareSession->setFlash(__('dreamjob.loggedin.error'),'flash',array('alert'=>'danger')); $this->MiconwareSession->setFlash(__('dreamjob.loggedin.error'),'flash',array('alert'=>'danger'));
} }
}else{ }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'];
}
} }