@@ 341-345 (lines=5) @@ | ||
338 | ||
339 | $id = $this->Cookie->read('CookieTfa'); |
|
340 | ||
341 | if (empty($id) || $id == false) { |
|
342 | $this->Cookie->delete('CookieTfa'); |
|
343 | ||
344 | return $this->redirect($this->Auth->config('loginAction')); |
|
345 | } |
|
346 | ||
347 | try { |
|
348 | $id = Security::decrypt(base64_decode($id), Configure::read('Security.key')); |
|
@@ 419-423 (lines=5) @@ | ||
416 | ||
417 | $id = $this->Cookie->read('CookieTfa'); |
|
418 | ||
419 | if (empty($id) || $id == false) { |
|
420 | $this->Cookie->delete('CookieTfa'); |
|
421 | ||
422 | return $this->redirect($this->Auth->config('loginAction')); |
|
423 | } |
|
424 | } |
|
425 | ||
426 | /** |