Booked Scheduler Community Support
February 23, 2018, 08:16:04 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Booked 2.5 has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: bug in Shibboleth-plugin  (Read 100 times)
soga
Newbie
*

Karma: 0
Posts: 13


« on: January 23, 2018, 10:38:23 AM »

Hallo,

I'm newbie.
I think, there is a bug in shibboleth-plugin. In the construct-function of ShibbolethUser there must be

$config = $options->GetLiberoOptions();
$this->_username = $this->GetValue($config, LiberoConfig::USERNAME);
$this->_firstname = $this->GetValue($config, LiberoConfig::FIRSTNAME);
$this->_lastname = $this->GetValue($config, LiberoConfig::LASTNAME);
$this->_email = $this->GetValue($config, LiberoConfig::EMAIL);
$this->_phone = $this->GetValue($config, LiberoConfig::PHONE);

instead of
$config = $options->GetLiberoOptions();
$this->_username = $this->GetValue($values, $config[LiberoConfig::USERNAME]);
$this->_firstname = $this->GetValue($values, $config[LiberoConfig::FIRSTNAME]);
$this->_lastname = $this->GetValue($values, $config[LiberoConfig::LASTNAME]);
$this->_email = $this->GetValue($values, $config[LiberoConfig::EMAIL]);
$this->_phone = $this->GetValue($values, $config[LiberoConfig::PHONE]);
the searched values are not in this $values-array.

https://sourceforge.net/p/phpscheduleit/2.5/ci/master/tree/plugins/Authentication/

Then the plugin run fine.
best regards
soga
Logged
Grissel
Newbie
*

Karma: 0
Posts: 2


« Reply #1 on: February 01, 2018, 07:38:33 AM »

Visit us now praise the importance of the information available to it.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!