EAuthException

/var/www/smotrinza/data/www/smotrinza.ru/protected/modules/USER/extensions/EAuth/EOAuthService.php(80)

68     }
69 
70     /**
71      * Authenticate the user.
72      *
73      * @return boolean whether user was successfuly authenticated.
74      * @throws EAuthException
75      */
76     public function authenticate() {
77         $this->authenticated = $this->auth->authenticate();
78         $error = $this->auth->getError();
79         if (isset($error)) {
80             throw new EAuthException($error);
81         }
82 
83         // In case of successful authentication save access token and
84         // customer to session.
85         if ($this->authenticated) {
86             $this->saveCredentials();
87         }
88 
89         return $this->getIsAuthenticated();
90     }
91 
92     /**

Stack Trace

#0
+
 /var/www/smotrinza/data/www/smotrinza.ru/protected/modules/USER/extensions/EAuth/services/TwitterOAuthService.php(66): EOAuthService->authenticate()
61     public function authenticate() {
62         if (isset($_GET['denied'])) {
63             $this->cancel();
64         }
65 
66         return parent::authenticate();
67     }
68 }
#1
+
 /var/www/smotrinza/data/www/smotrinza.ru/protected/modules/USER/controllers/account/LoginAction.php(100): TwitterOAuthService->authenticate()
095        }elseif(isset($service)) {
096         
097             $authIdentity = Yii::app()->eauth->getIdentity($service);
098             //echo '<pre>'; print_r($authIdentity); echo '</pre>'; exit();
099             
100             if ( $authIdentity->authenticate() ) {
101                 
102                 if ( !Service::authval($authIdentity->attributes) ) { //Если такого аккаунта нет, открывается попап
103                 
104                     $this->controller->layout = 'application.modules.USER.views.layouts.forPopupAouth';
105                     Yii::app()->getClientScript()->registerCssFile( $this->controller->assetsUrl.'/css/popUpForNewUser.css');
#9
+
 /var/www/smotrinza/data/www/smotrinza.ru/index.php(10): CApplication->run()
05 
06 // remove the following line when in production mode
07  defined('YII_DEBUG') or define('YII_DEBUG',true);
08 
09 require_once($yii);
10 Yii::createWebApplication($config)->run();
2024-03-28 21:27:05 Apache/2.4.38 (Debian) Yii Framework/1.1.16