From 75160b12821f7f4299cce7f0b69c83c1502ae071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Mon, 27 May 2024 13:08:29 +0200 Subject: 2024-02-19 upstream --- admin/survey/api/class.ApiController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'admin/survey/api/class.ApiController.php') 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']); } } -- cgit v1.2.3