Changeset 128

Show
Ignore:
Timestamp:
04/24/07 05:36:29
Author:
danfreak
Message:

"FAL: updated the helper function displayLoginForm in order to use the new FAL_front library "

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • FreakAuth/trunk/www/system/application/helpers/freakauth_light_helper.php

    r87 r128  
    193193{ 
    194194        $obj =& get_instance(); 
    195         $obj->lang->load('freakauth'); 
    196         if ($obj->config->item('FAL_use_security_code_login')) 
    197                 {        
    198                         $action='_login'; 
    199                     $obj->freakauth_light->captcha_init($action); 
    200                     $data['captcha'] = $obj->config->item('FAL_security_code_image'); 
    201                 } 
    202                  
    203     return $obj->load->view($obj->config->item('FAL_login_view'), $data, true); 
     195        $obj->load->library('FAL_front', 'fal_front'); 
     196         
     197    return $obj->fal_front->login(); 
    204198} 
    205199