Commit 1f9be4ae authored by Dainis Abols's avatar Dainis Abols
Browse files

Fixed namespace typo and user onject variable

Version 4.2.2
parent 4d9c82f5
Pipeline #125 failed with stages
in 0 seconds
...@@ -17,7 +17,7 @@ namespace Lu\LuAuth\Services; ...@@ -17,7 +17,7 @@ namespace Lu\LuAuth\Services;
use Lu\LuApi\Authentication\LuisLibrary; use Lu\LuApi\Authentication\LuisLibrary;
use Lu\LuAuth\Models\Users; use Lu\LuAuth\Models\Users;
use Lu\LDAPAtuhorization\LDAP; use Lu\LDAPAuthorization\LDAP;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Core\Authentication\AuthenticationService; use TYPO3\CMS\Core\Authentication\AuthenticationService;
...@@ -118,7 +118,7 @@ class LUBEAuthService extends AuthenticationService ...@@ -118,7 +118,7 @@ class LUBEAuthService extends AuthenticationService
$ldap = new LDAP($this->conf['ldapServer'], $this->conf['ldapDC']); $ldap = new LDAP($this->conf['ldapServer'], $this->conf['ldapDC']);
// Bind and get user data // Bind and get user data
$result = $ldap->authorize($this->username, $this->password); $ldapres = $ldap->authorize($this->username, $this->password);
// Check if data recieved // Check if data recieved
if ($ldapres) { if ($ldapres) {
......
{ {
"name": "luitd/lu-auth", "name": "luitd/lu-auth",
"version": "4.2.1", "version": "4.2.2",
"description": "TYPO3 Authentication for University of Latvia", "description": "TYPO3 Authentication for University of Latvia",
"type": "typo3-cms-extension", "type": "typo3-cms-extension",
"keywords": [ "keywords": [
......
...@@ -14,8 +14,7 @@ $EM_CONF[$_EXTKEY] = [ ...@@ -14,8 +14,7 @@ $EM_CONF[$_EXTKEY] = [
'title' => 'LU Authentication', 'title' => 'LU Authentication',
'description' => 'TYPO3 Authentication for University of Latvia', 'description' => 'TYPO3 Authentication for University of Latvia',
'category' => 'misc', 'category' => 'misc',
'shy' => 0, 'version' => '4.2.2',
'version' => '4.2.1',
'dependencies' => 'typo3,lu_api', 'dependencies' => 'typo3,lu_api',
'state' => 'stable', 'state' => 'stable',
'clearCacheOnLoad' => 1, 'clearCacheOnLoad' => 1,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment