Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
t3o
my.typo3.org
Commits
742d33f2
Commit
742d33f2
authored
Jul 10, 2017
by
Stefan Busemann
Browse files
[WIP] Add password hook
parent
fae0496c
Pipeline
#1452
passed with stages
in 4 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
html/typo3conf/ext/t3omy/Classes/Hooks/FeManagerHooks.php
View file @
742d33f2
...
...
@@ -25,6 +25,8 @@ namespace T3o\T3omy\Hooks;
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use
TYPO3\CMS\Extbase\Utility\DebuggerUtility
;
use
T3o\T3oLdap\Utility
;
/**
* Hook Functions for \
...
...
@@ -34,13 +36,13 @@ class FeManagerHooks {
/**
*/
protected
$ldap
;
protected
$ldap
Operation
;
/**
* DataHandlerHook constructor
*/
public
function
__construct
()
{
#
$this->ldap
= new Tx_T3oLdap_Utility_
UserCreateUpdateDelete();
$this
->
ldap
Operation
=
new
UserCreateUpdateDelete
();
}
/**
...
...
@@ -80,8 +82,22 @@ class FeManagerHooks {
}
public
function
writePassword
()
{
/**
* @param $_funcRef
* @param $_params
* @param $this
*/
public
function
writePassword
(
$_funcRef
,
$_params
,
$felogin
)
{
DebuggerUtility
::
var_dump
(
$_funcRef
,
'$_funcRef'
);
DebuggerUtility
::
var_dump
(
$_params
,
'$_params'
);
DebuggerUtility
::
var_dump
(
$felogin
,
'$felogin'
);
die
(
'halt'
);
$feUserUid
=
0
;
$userData
=
array
();
$createIfNotExists
=
false
;
$result
=
$this
->
ldapOperation
->
updateUser
(
$feUserUid
,
$userData
,
$createIfNotExists
);
}
}
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