Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 3372 Rev 3373
Línea 246... Línea 246...
246
 
246
 
Línea 247... Línea 247...
247
            $password  = md5('user-' . $currentUser->uuid . '-post-' . $post->uuid . '-timestamp-' . $timestamp . '-rand-' . $rand . '-share-key-' . $currentUser->share_key) ;
247
            $password  = md5('user-' . $currentUser->uuid . '-post-' . $post->uuid . '-timestamp-' . $timestamp . '-rand-' . $rand . '-share-key-' . $currentUser->share_key) ;
248
            
248
            
249
            
249
            
250
            $query = [
250
            $query = [
251
                'user' => $currentUser->uuid, 
251
                'll0' => $currentUser->uuid, 
Línea 252... Línea 252...
252
                'timestamp' => $timestamp, 
252
                'll1' => $timestamp, 
Línea 253... Línea 253...
253
                'rand' => $rand, 
253
                'll2' => $rand, 
Línea 295... Línea 295...
295
            $currentUserPlugin = $this->plugin('currentUserPlugin');
295
            $currentUserPlugin = $this->plugin('currentUserPlugin');
296
            $currentUser = $currentUserPlugin->getUser();
296
            $currentUser = $currentUserPlugin->getUser();
Línea 297... Línea 297...
297
            
297
            
298
            $code       = $this->params()->fromRoute('code');
298
            $code       = $this->params()->fromRoute('code');
299
            $type       = $this->params()->fromRoute('type');
299
            $type       = $this->params()->fromRoute('type');
300
            $user       = $this->params()->fromQuery('user');
300
            $user       = $this->params()->fromQuery('ll0');
301
            $timestamp  = intval($this->params()->fromQuery('timestamp'), 10);
301
            $timestamp  = intval($this->params()->fromQuery('ll1'), 10);
302
            $rand       = intval($this->params()->fromQuery('rand'), 10);
302
            $rand       = intval($this->params()->fromQuery('ll2'), 10);
303
            $password   = $this->params()->fromQuery('password');
303
            $password   = $this->params()->fromQuery('ll3');
Línea 304... Línea 304...
304
            $checkpassword = '';
304
            $checkpassword = '';