Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
Archive
t3o
my.typo3.org
Commits
1133aa02
Commit
1133aa02
authored
Mar 15, 2018
by
Thomas Löffler
Browse files
Fixes the creation of an user (incl. Slack and LDAP)
parent
84a6a499
Pipeline
#3827
passed with stages
in 4 minutes and 48 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
html/typo3conf/ext/t3omy/Classes/Hooks/FeManagerHooks.php
View file @
1133aa02
...
...
@@ -63,7 +63,6 @@ class FeManagerHooks
*/
protected
$myProfileRepository
;
/**
* DataHandlerHook constructor
*/
...
...
@@ -107,7 +106,6 @@ class FeManagerHooks
{
// this event happens, when a user registered himself and an autoapprovement got active
$this
->
createUser
(
$user
);
$this
->
sendSlackBotMessage
(
...
...
@@ -174,6 +172,9 @@ class FeManagerHooks
*/
public
function
createUser
(
User
$user
)
{
// Due to a dirty state of the user we need to persist before fetch
$persistenceManager
=
GeneralUtility
::
makeInstance
(
\
TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager
::
class
);
$persistenceManager
->
persistAll
();
$myProfileUser
=
$this
->
myProfileRepository
->
findByUid
(
$user
->
getUid
());
$result
=
$this
->
ldapUserCreateUpdateDelete
->
updateUser
(
$myProfileUser
);
...
...
html/typo3conf/ext/t3omy/Configuration/TypoScript/femanager.txt
View file @
1133aa02
...
...
@@ -46,7 +46,6 @@ plugin.tx_femanager {
page.termsAndConditions = 6
# Femanager autoAdminConfirmation classes
autoAdminConfirmation = 1
autoAdminConfirmation {
10 {
class = In2code\Femanager\Domain\Service\AutoAdminConfirmation\EmailDomainConfirmation
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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