Subversion Repositories SmartDukaan

Rev

Rev 18832 | Rev 18834 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 18832 Rev 18833
Line 368... Line 368...
368
		if($testCheck){
368
		if($testCheck){
369
			$tokenValidated =  1;
369
			$tokenValidated =  1;
370
		}else{
370
		}else{
371
			$tokenValidated = $this->checkToken($userId);
371
			$tokenValidated = $this->checkToken($userId);
372
		}
372
		}
373
		
-
 
374
	 	if($tokenValidated == 0){
-
 
375
			$this->redirect(array('controller'=>'special','action'=>'native','login'));
-
 
376
		}elseif($tokenValidated == -1){
-
 
377
			$this->redirect(array('controller'=>'abouts','action'=>'askforupdate'));
-
 
378
		}
-
 
379
	
373
	
380
		if(!empty($userId) && $tokenValidated){			
374
		if(!empty($userId) && $tokenValidated){			
381
			$url = $this->getAutoLoginUrl($userId,$url);
375
			$url = $this->getAutoLoginUrl($userId,$url);
382
	
376
	
383
			if(isset($this->request->data->pincode)){
377
			if(isset($this->request->data->pincode)){