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
749d3877
Commit
749d3877
authored
Dec 05, 2017
by
Stefan Busemann
Browse files
[TASK] Add femanager confirmation view
parent
bcb2dbd4
Changes
2
Hide whitespace changes
Inline
Side-by-side
html/typo3conf/LocalConfiguration.php
View file @
749d3877
...
...
@@ -27,7 +27,7 @@ return [
'documentation'
=>
'a:0:{}'
,
'extensionmanager'
=>
'a:2:{s:21:"automaticInstallation";s:1:"1";s:11:"offlineMode";s:1:"0";}'
,
'felogin'
=>
'a:0:{}'
,
'femanager'
=>
'a:
2
:{s:13:"disableModule";s:1:"0";s:
10:"disableLog
";s:1:"0";}'
,
'femanager'
=>
'a:
4
:{s:13:"disableModule";s:1:"0";s:
24:"enableConfirmationModule";s:1:"1";s:10:"disableLog";s:1:"0";s:16:"setCookieOnLogin
";s:1:"0";}'
,
'fluid_styled_content'
=>
'a:0:{}'
,
'form'
=>
'a:0:{}'
,
'ig_ldap_sso_auth'
=>
'a:18:{s:18:"checkConfiguration";s:1:"0";s:21:"throwExceptionAtLogin";s:1:"1";s:22:"forceLowerCaseUsername";s:1:"1";s:26:"enableBELDAPAuthentication";s:1:"0";s:17:"TYPO3BEGroupExist";s:1:"0";s:16:"TYPO3BEUserExist";s:1:"0";s:10:"BEfailsafe";s:1:"0";s:27:"TYPO3BEGroupsNotSynchronize";s:1:"0";s:12:"keepBEGroups";s:1:"0";s:11:"enableBESSO";s:1:"0";s:26:"enableFELDAPAuthentication";s:1:"1";s:31:"TYPO3FEDeleteUserIfNoLDAPGroups";s:1:"0";s:32:"TYPO3FEDeleteUserIfNoTYPO3Groups";s:1:"0";s:17:"TYPO3FEGroupExist";s:1:"0";s:16:"TYPO3FEUserExist";s:1:"0";s:27:"TYPO3FEGroupsNotSynchronize";s:1:"1";s:12:"keepFEGroups";s:1:"1";s:11:"enableFESSO";s:1:"0";}'
,
...
...
html/typo3conf/ext/t3omy/Classes/Hooks/FeManagerHooks.php
View file @
749d3877
...
...
@@ -125,6 +125,7 @@ class FeManagerHooks
*/
public
function
newUserAdminApprovement
(
User
$user
,
UserBackendController
$plugin
)
{
#User was approved via backend
$this
->
sendSlackBotMessage
(
'User approved'
,
...
...
@@ -204,7 +205,11 @@ class FeManagerHooks
$result
=
$ldap
->
deleteUser
(
$user
->
getUsername
());
// TODO: Handle the response as needed
// TODO: Handle the resonse as needed
if
(
$ret
===
true
)
{
}
else
{
}
}
return
$result
;
...
...
@@ -280,6 +285,7 @@ class FeManagerHooks
*/
protected
function
sendConfirmationEmail
(
User
$user
)
{
$objectManager
=
GeneralUtility
::
makeInstance
(
ObjectManager
::
class
);
$femanagerSettings
=
$this
->
fullTS
[
'plugin.'
][
'tx_femanager.'
][
'settings.'
];
...
...
Write
Preview
Markdown
is supported
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