Ignore:
Timestamp:
04/25/11 14:03:41 (13 years ago)
Author:
rafaelraymundo
Message:

Ticket #1739 - Login com certificado em atributo customizável

File:
1 edited

Legend:

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

    r4012 r4127  
    116116        if(isset($_POST['certificado']) && $_POST['certificado']) 
    117117        { 
    118             //$xcert = str_replace(chr(0x0A).chr(0x0A),chr(0x0A),$_POST['certificado']); 
    119             $_SESSION['login_certificado'] = troca_espaco_por_mais(str_replace(chr(0x0A).chr(0x0A),chr(0x0A),$_POST['certificado'])); 
     118 
     119            $_SESSION['login_certificado'] = troca_espaco_por_mais(str_replace(chr(0x0D).chr(0x0A),chr(0x0A),str_replace(chr(0x0A).chr(0x0A),chr(0x0A),$_POST['certificado']))); 
    120120        } 
    121121        if( isset( $_GET[ 'cd' ] ) && ( $_GET['cd']=='1' || $_GET['cd'] == 10 ) ) 
Note: See TracChangeset for help on using the changeset viewer.