Index: typo3/sysext/felogin/ext_typoscript_setup.txt
===================================================================
--- typo3/sysext/felogin/ext_typoscript_setup.txt (revision 8558)
+++ typo3/sysext/felogin/ext_typoscript_setup.txt (working copy)
@@ -104,6 +104,9 @@
# Allowed Referrer-Redirect-Domains:
domains =
+ # Show logout form direct after login
+ noSuccessMessageAfterLogin =
+
dateFormat = Y-m-d H:i
}
Index: typo3/sysext/felogin/flexform.xml
===================================================================
--- typo3/sysext/felogin/flexform.xml (revision 8558)
+++ typo3/sysext/felogin/flexform.xml (working copy)
@@ -27,6 +27,15 @@
+
+
+
+
+
+ check
+
+
+
1
Index: typo3/sysext/felogin/locallang_db.xml
===================================================================
--- typo3/sysext/felogin/locallang_db.xml (revision 8558)
+++ typo3/sysext/felogin/locallang_db.xml (working copy)
@@ -29,6 +29,7 @@
+
Index: typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php
===================================================================
--- typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php (revision 8558)
+++ typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php (working copy)
@@ -443,7 +443,10 @@
}
}
}
-
+ // show logout form directly
+ if ($this->conf['noSuccessMessageAfterLogin']) {
+ return $this->showLogout();
+ }
} else {
// login error
$markerArray['###STATUS_HEADER###'] = $this->getDisplayText('error_header',$this->conf['errorHeader_stdWrap.']);
@@ -686,6 +689,10 @@
$flex['showPermaLogin'] = $this->flexFormValue('showPermaLogin', 'sDEF');
}
+ if ($this->flexFormValue('noSuccessMessageAfterLogin', 'sDEF')) {
+ $flex['noSuccessMessageAfterLogin'] = $this->flexFormValue('noSuccessMessageAfterLogin', 'sDEF');
+ }
+
if ($this->flexFormValue('pages', 'sDEF')) {
$flex['pages'] = $this->flexFormValue('pages', 'sDEF');
}