Ignore:
Timestamp:
04/22/10 11:15:42 (14 years ago)
Author:
rafaelraymundo
Message:

Ticket #834 - Corrigida funcionalidade do captcha e seu posicionamento.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/phpgwapi/templates/default/login_default.php

    r1933 r2614  
    104104                unset($sslattributes); 
    105105        } 
    106  
     106        session_start(); 
    107107        if(isset($passwd_type) || $_POST['submitit_x'] || $_POST['submitit_y'] || $submit) 
    108108        { 
     
    406406                        { 
    407407                                $aux_captcha = '<div class="login_label" > 
    408                <img src="./security/captcha.php" title="'.lang('Security code').'" alt="'.lang('Security code').'" style="width:60;"> 
     408               <input type="hidden" name="' . session_name() .'" value="' . session_id() . '" > 
     409               <img src="./security/captcha.php?xsid='.session_id().'" title="'.lang('Security code').'" alt="'.lang('Security code').'" style="width:60;"> 
    409410<br /> 
    410411                <input class="input" type="text" maxlength="50" size="20" name="codigo" id="codigo" value="" > 
Note: See TracChangeset for help on using the changeset viewer.