Bugfix apiKey login
This commit is contained in:
@@ -32,7 +32,11 @@ class ApiKey
|
||||
{
|
||||
return $this->userId;
|
||||
}
|
||||
|
||||
|
||||
public function getKey(){
|
||||
return $this->key;
|
||||
}
|
||||
|
||||
/**
|
||||
* testing if the apiKey is valid for a certain action
|
||||
*
|
||||
|
||||
@@ -74,7 +74,7 @@ class participo
|
||||
*
|
||||
* @retval void
|
||||
*/
|
||||
public static function authentificate($action = ['login'])
|
||||
public static function authentificate($action = 'login')
|
||||
{
|
||||
// Ensure a session is started
|
||||
session_start();
|
||||
|
||||
Reference in New Issue
Block a user