リビジョン b3a58ce1 app/Controller/UsersController.php
| app/Controller/UsersController.php | ||
|---|---|---|
| 22 | 22 |
* |
| 23 | 23 |
* @var array |
| 24 | 24 |
*/ |
| 25 |
public $components = array('Paginator');
|
|
| 25 |
public $components = array('Paginator','Recaptcha.Recaptcha');
|
|
| 26 | 26 |
|
| 27 | 27 |
/** |
| 28 | 28 |
* index method |
| ... | ... | |
| 206 | 206 |
if ($this->Auth->login()) {
|
| 207 | 207 |
$this->redirect('/Users/login_top');
|
| 208 | 208 |
} else {
|
| 209 |
$this->Flash->error(__('error'));
|
|
| 209 |
$this->Flash->loginerror('ニックネームか パスワードにまちがいが あるよ!', array(
|
|
| 210 |
'key' => 'positive', |
|
| 211 |
)); |
|
| 212 |
//$this->Flash->error(__('error'));
|
|
| 210 | 213 |
// $this->Flash->error(__('<section class="caution"><p>ニックネームか パスワードに<br>まちがいが あるよ!</p></section>'));
|
| 211 | 214 |
} |
| 212 | 215 |
} |
他の形式にエクスポート: Unified diff