Changeset 5f560ee7 in github


Ignore:
Timestamp:
Nov 29, 2010 3:23:53 AM (2 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
9016a84
Parents:
5c84da1
Message:
  • Plugin API: Add 'pass' argument in 'authenticate' hook (#1487134)
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    reee6944 r5f560ee7  
    22=========================== 
    33 
     4- Plugin API: Add 'pass' argument in 'authenticate' hook (#1487134) 
     5 
     6RELEASE 0.5-BETA 
     7---------------- 
    48- Make session data storage more robust against garbage session data (#1487136) 
    59- Config option for autocomplete on login screen 
  • index.php

    r6d99f99 r5f560ee7  
    7878  // purge the session in case of new login when a session already exists  
    7979  $RCMAIL->kill_session(); 
    80    
     80 
    8181  $auth = $RCMAIL->plugins->exec_hook('authenticate', array( 
    8282    'host' => $RCMAIL->autoselect_host(), 
    8383    'user' => trim(get_input_value('_user', RCUBE_INPUT_POST)), 
     84    'pass' => get_input_value('_pass', RCUBE_INPUT_POST, true, 
     85       $RCMAIL->config->get('password_charset', 'ISO-8859-1')), 
    8486    'cookiecheck' => true, 
    8587  )); 
    86    
    87   if (!isset($auth['pass'])) 
    88     $auth['pass'] = get_input_value('_pass', RCUBE_INPUT_POST, true, 
    89         $RCMAIL->config->get('password_charset', 'ISO-8859-1')); 
    9088 
    9189  // check if client supports cookies 
Note: See TracChangeset for help on using the changeset viewer.