Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 1 | Rev 238 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 237
Línea 124... Línea 124...
124
        /*
124
        /*
125
        if($t >= $t1 && $t <= $t2) {
125
        if($t >= $t1 && $t <= $t2) {
126
            return new Result(Result::FAILURE_UNCATEGORIZED, null, ['ERROR_WEBSERVICE_TIMESTAMP']);
126
            return new Result(Result::FAILURE_UNCATEGORIZED, null, ['ERROR_WEBSERVICE_TIMESTAMP']);
127
        }*/
127
        }*/
Línea -... Línea 128...
-
 
128
     
-
 
129
        
-
 
130
        error_log('device token = ' . $device->id);
-
 
131
        error_log('device password = ' . $device->password);
-
 
132
        error_log('request timestamp = ' . $this->timestamp);
-
 
133
        error_log('request rand = ' . $this->rand);
-
 
134
        error_log('request password = ' . $this->password);
-
 
135
        
128
     
136
        
Línea 129... Línea 137...
129
        $passworVerification = md5($device->password . ':' . $this->timestamp . ':'  . $this->rand);
137
        $passworVerification = md5($device->password . ':' . $this->timestamp . ':'  . $this->rand);
130
        
138
        
-
 
139
 
131
 
140
        if($this->password != $passworVerification) 
Línea 132... Línea 141...
132
        if($this->password != $passworVerification) 
141
        {
133
        {
142
                
134
           //error_log('verification = ' . $passworVerification);
143
            error_log('error password verification = ' . $passworVerification);