diff options
Diffstat (limited to 'admin/survey/api/class.ApiController.php')
-rw-r--r-- | admin/survey/api/class.ApiController.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/admin/survey/api/class.ApiController.php b/admin/survey/api/class.ApiController.php index b35d867..40028d7 100644 --- a/admin/survey/api/class.ApiController.php +++ b/admin/survey/api/class.ApiController.php @@ -121,11 +121,10 @@ class ApiController{ // TUKAJ PRIDE DODATEN POGOJ CE GRE ZA PRIJAVO PREKO GOOGLA, FB... - V TEM PRIMERU NIMAMO PASSWORDA
if(!isset($this->data['Login']['password']) && isset($this->data['Login']['special_login'])){
- global $APP_special_login_key;
// DODATI FUNKCIJO checkSpecialLogin v SurveyMobile, kjer se pogleda samo če obstaja mail in nastavi ustrezno user id
if($this->data['Login']['special_login'] == 'nekajzavsakslucajv4x7in6' ||
- $this->data['Login']['special_login'] == $APP_special_login_key){
+ $this->data['Login']['special_login'] == AppSettings::getInstance()->getSetting('maza-APP_special_login_key')){
$user_id = $sm->googleLogin($this->data['Login']['username']);
}
}
|