Subversion Repositories SmartDukaan

Rev

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

Rev 16256 Rev 16308
Line 44... Line 44...
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'));
48
			$this->redirect(array('controller'=>'special','action'=>'native','login'));
49
			/*if($tokenValidated == 0){
49
			if($tokenValidated == 0){
50
				$this->redirect(array('controller'=>'special','action'=>'native','login'));
50
				$this->redirect(array('controller'=>'special','action'=>'native','login'));
51
			}elseif($tokenValidated == -1){
51
			}elseif($tokenValidated == -1){
52
				$this->redirect(array('controller'=>'abouts','action'=>'askforupdate'));
52
				$this->redirect(array('controller'=>'abouts','action'=>'askforupdate'));
53
			}*/
53
			}
54
		}
54
		}
55
	}
55
	}
56
 
56
 
57
	public function socialauth() {
57
	public function socialauth() {
58
		$this->layout = "ajax";
58
		$this->layout = "ajax";