Subversion Repositories SmartDukaan

Rev

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

Rev 15232 Rev 15247
Line 32... Line 32...
32
		$userId = $this->request->query('user_id');
32
		$userId = $this->request->query('user_id');
33
		$tokenValidated = $this->checkToken();
33
		$tokenValidated = $this->checkToken();
34
		if(isset($userId) && !empty($userId) && $tokenValidated){	
34
		if(isset($userId) && !empty($userId) && $tokenValidated){	
35
			$next = "/my-wallet";					
35
			$next = "/my-wallet";					
36
			$redirectUrl = $this->getAutoLoginUrl($userId,$next);
36
			$redirectUrl = $this->getAutoLoginUrl($userId,$next);
37
			header('location:'.$redirectUrl);
37
			// header('location:'.$redirectUrl);
38
			exit();
38
			// exit();
-
 
39
			$this->layout = 'innerpages';
-
 
40
			$this->set(compact('redirectUrl'));
39
		}else{
41
		}else{
40
			$this->redirect(array('controller'=>'special','action'=>'native','login'));
42
			$this->redirect(array('controller'=>'special','action'=>'native','login'));
41
		}
43
		}
42
	}
44
	}
43
 
45