|
@@ 358-362 (lines=5) @@
|
| 355 |
|
|
| 356 |
|
$id = $this->Cookie->read('CookieTfa'); |
| 357 |
|
|
| 358 |
|
if (empty($id) || $id == false) { |
| 359 |
|
$this->Cookie->delete('CookieTfa'); |
| 360 |
|
|
| 361 |
|
return $this->redirect($this->Auth->config('loginAction')); |
| 362 |
|
} |
| 363 |
|
|
| 364 |
|
try { |
| 365 |
|
$id = Security::decrypt(base64_decode($id), Configure::read('Security.key')); |
|
@@ 436-440 (lines=5) @@
|
| 433 |
|
|
| 434 |
|
$id = $this->Cookie->read('CookieTfa'); |
| 435 |
|
|
| 436 |
|
if (empty($id) || $id == false) { |
| 437 |
|
$this->Cookie->delete('CookieTfa'); |
| 438 |
|
|
| 439 |
|
return $this->redirect($this->Auth->config('loginAction')); |
| 440 |
|
} |
| 441 |
|
} |
| 442 |
|
|
| 443 |
|
/** |