[BUGFIX] Fix API documentation for sessionTimeout 51/50651/3
authorAlexander Opitz <opitz.alexander@googlemail.com>
Mon, 14 Nov 2016 14:14:27 +0000 (15:14 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 18 Nov 2016 21:37:19 +0000 (22:37 +0100)
Show sessionTimeout as integer.

Resolves: #78692
Releases: master
Change-Id: Ia8bb8fa48018a3c9df5791ad8b2081e20f2b0211
Reviewed-on: https://review.typo3.org/50651
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Thomas Mayer <thomas.mayer@2bis10.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php
typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php

index 64f4d26..e85d19c 100644 (file)
@@ -249,10 +249,12 @@ class BackendUserAuthentication extends \TYPO3\CMS\Core\Authentication\AbstractU
     public $writeAttemptLog = true;
 
     /**
-     * if > 0 : session-timeout in seconds.
-     * if FALSE/<0 : no timeout.
-     * if string: The string is field name from the user table where the timeout can be found.
-     * @var string|int
+     * Session timeout (on the server)
+     *
+     * If >0: session-timeout in seconds.
+     * If 0: no timeout.
+     *
+     * @var int
      */
     public $sessionTimeout = 6000;
 
index 0416a7c..42b0b1d 100644 (file)
@@ -39,10 +39,12 @@ class FrontendUserAuthentication extends AbstractUserAuthentication
     protected $sessionDataLifetime = 86400;
 
     /**
-     * if > 0 : session-timeout in seconds.
-     * if FALSE/<0 : no timeout.
-     * if string: The string is field name from the user table where the timeout can be found.
-     * @var string|int
+     * Session timeout (on the server)
+     *
+     * If >0: session-timeout in seconds.
+     * If 0: no timeout.
+     *
+     * @var int
      */
     public $sessionTimeout = 6000;