Subversion Repositories SmartDukaan

Rev

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

Rev 16308 Rev 16315
Line 162... Line 162...
162
			$next = "&next=/private-deals/1";
162
			$next = "&next=/private-deals/1";
163
			$redirectUrl = $this->getAutoLoginUrl($userId,$next);
163
			$redirectUrl = $this->getAutoLoginUrl($userId,$next);
164
			header('location:'.$redirectUrl);
164
			header('location:'.$redirectUrl);
165
			exit();
165
			exit();
166
		} else{
166
		} else{
167
			$this->redirect(array('controller'=>'special','action'=>'native','login'));
167
			// $this->redirect(array('controller'=>'special','action'=>'native','login'));
168
			if($tokenValidated == 0){
168
			if($tokenValidated == 0){
169
				$this->redirect(array('controller'=>'special','action'=>'native','login'));
169
				$this->redirect(array('controller'=>'special','action'=>'native','login'));
170
			}elseif($tokenValidated == -1){
170
			}elseif($tokenValidated == -1){
171
				$this->redirect(array('controller'=>'abouts','action'=>'askforupdate'));
171
				$this->redirect(array('controller'=>'abouts','action'=>'askforupdate'));
172
			}
172
			}