Subversion Repositories SmartDukaan

Rev

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

Rev 16308 Rev 16309
Line 43... Line 43...
43
			$redirectUrl = $this->getAutoLoginUrl($userId,$next);
43
			$redirectUrl = $this->getAutoLoginUrl($userId,$next);
44
			$this->log($redirectUrl,'headers');
44
			$this->log($redirectUrl,'headers');
45
			$this->layout = 'innerpages';
45
			$this->layout = 'innerpages';
46
			$this->set(compact('redirectUrl'));
46
			$this->set(compact('redirectUrl'));
47
		}else{
47
		}else{
48
			$this->redirect(array('controller'=>'special','action'=>'native','login'));
-
 
49
			if($tokenValidated == 0){
48
			if($tokenValidated == 0){
50
				$this->redirect(array('controller'=>'special','action'=>'native','login'));
49
				$this->redirect(array('controller'=>'special','action'=>'native','login'));
51
			}elseif($tokenValidated == -1){
50
			}elseif($tokenValidated == -1){
52
				$this->redirect(array('controller'=>'abouts','action'=>'askforupdate'));
51
				$this->redirect(array('controller'=>'abouts','action'=>'askforupdate'));
53
			}
52
			}