Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Open
LU Authorization
Commits
1f9be4ae
Commit
1f9be4ae
authored
Aug 24, 2020
by
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
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Classes/Services/LUBEAuthService.php
View file @
1f9be4ae
...
@@ -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\LDAPA
t
uhorization\LDAP
;
use
Lu\LDAPAu
t
horization\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
$res
ult
=
$ldap
->
authorize
(
$this
->
username
,
$this
->
password
);
$
ldap
res
=
$ldap
->
authorize
(
$this
->
username
,
$this
->
password
);
// Check if data recieved
// Check if data recieved
if
(
$ldapres
)
{
if
(
$ldapres
)
{
...
...
composer.json
View file @
1f9be4ae
{
{
"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"
:
[
...
...
ext_emconf.php
View file @
1f9be4ae
...
@@ -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
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment