Changeset 165

Show
Ignore:
Timestamp:
05/07/07 10:20:06
Author:
grahack
Message:

FAL erase the security code from the db_session just after checking (see #20)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • FreakAuth/trunk/www/system/application/libraries/FAL_validation.php

    r112 r165  
    397397                $securityCode = $this->CI->db_session->userdata('FreakAuth_security_code'); 
    398398                         
     399            // erase the code from the session to prevent it to be used a second time 
     400            // see http://www.ciforge.com/trac/freakauth/ticket/20 
     401            $this->CI->db_session->unset_userdata('FreakAuth_security_code'); 
     402                         
    399403                if ($this->CI->config->item('FAL_security_code_case_sensitive')==FALSE) 
    400404                {