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