Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
ng6
Commits
750b2d75
Commit
750b2d75
authored
Dec 17, 2013
by
Jerome Mariette
Browse files
log the user ...
parent
fabe9258
Changes
1
Hide whitespace changes
Inline
Side-by-side
ui/nG6/class.tx_nG6_eid.php
View file @
750b2d75
...
...
@@ -672,7 +672,7 @@ class tx_nG6_eid {
}
elseif
(
$type
==
'install'
)
{
$res
=
tx_nG6_db
::
select_user_by_username
(
"admin_install"
);
if
(
$res
!=
null
){
$res
=
tx_nG6_db
::
finalize_installation
(
$res
[
"uid"
],
$res
2
=
tx_nG6_db
::
finalize_installation
(
$res
[
"uid"
],
trim
(
t3lib_div
::
_GP
(
'username'
)),
trim
(
t3lib_div
::
_GP
(
'first_name'
)),
trim
(
t3lib_div
::
_GP
(
'last_name'
)),
...
...
@@ -682,6 +682,12 @@ class tx_nG6_eid {
trim
(
t3lib_div
::
_GP
(
'project_name'
)),
trim
(
t3lib_div
::
_GP
(
'description'
))
);
// if there is a result, then log the user
if
(
$res2
)
{
$GLOBALS
[
'TSFE'
]
=
t3lib_div
::
makeInstance
(
'tslib_fe'
,
$GLOBALS
[
'TYPO3_CONF_VARS'
],
t3lib_div
::
_GP
(
'id'
),
''
);
$GLOBALS
[
'TSFE'
]
->
initFEuser
();
$GLOBALS
[
'TSFE'
]
->
fe_user
->
createUserSession
(
array
(
'uid'
=>
$res
[
"uid"
]));
}
}
print
$res
;
}
...
...
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