fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [17184] bookingfrontend: external login


From: sigurdne
Subject: [Fmsystem-commits] [17184] bookingfrontend: external login
Date: Sat, 21 Oct 2017 10:40:07 -0400 (EDT)

Revision: 17184
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17184
Author:   sigurdne
Date:     2017-10-21 10:40:07 -0400 (Sat, 21 Oct 2017)
Log Message:
-----------
bookingfrontend: external login

Modified Paths:
--------------
    trunk/bookingfrontend/inc/custom/default/MinId2.php

Modified: trunk/bookingfrontend/inc/custom/default/MinId2.php
===================================================================
--- trunk/bookingfrontend/inc/custom/default/MinId2.php 2017-10-21 14:28:09 UTC 
(rev 17183)
+++ trunk/bookingfrontend/inc/custom/default/MinId2.php 2017-10-21 14:40:07 UTC 
(rev 17184)
@@ -46,7 +46,7 @@
 
                protected function get_user_org_id()
                {
-                       $ipdp = sha1($_SERVER['HTTP_UID']);
+                       $ipdp = $_SERVER['HTTP_UID'];
                        $bregorgs = $this->get_breg_orgs($ipdp);
                        $myorgnr = array();
                        if ($bregorgs == array())
@@ -171,7 +171,7 @@
                        $apikey = !empty($this->config->config_data['apikey']) 
? $this->config->config_data['apikey'] : 
'45090934oidtgj3Dtgijr3GrtiorthrtpiRTHSRhoRTHrthoijrtgrsSERgerthoijRDTeortigjesrgERHGeihjoietrh';
                        $webservicehost = 
!empty($this->config->config_data['webservicehost']) ? 
$this->config->config_data['webservicehost'] : '';
 
-                       if(!$webservicehost && !$apikey)
+                       if(!$webservicehost || !$apikey)
                        {
                                throw new Exception('Missing parametres for 
webservice');
                        }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]