DataObjects/Core_person.php
authorjohn <john@roojs.com>
Wed, 10 Oct 2018 04:47:36 +0000 (12:47 +0800)
committerjohn <john@roojs.com>
Wed, 10 Oct 2018 04:47:36 +0000 (12:47 +0800)
DataObjects/Core_person.php

index 0206613..3d06e9a 100644 (file)
@@ -809,7 +809,7 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
             
             if($person->checkTwoFactorAuthentication($q['two_factor_auth_code'])) {
                 
-                print_r($_SESSION);exit;
+                unset($_SESSION[__CLASS__]['oath'][$person->id]);
                 
                 $roo->jok('DONE');
             }