From 311a2eb4aeefb5ff3311d79b20eb74d0af6ce8e7 Mon Sep 17 00:00:00 2001
From: Alexander Opitz <opitz.alexander@googlemail.com>
Date: Mon, 14 Nov 2016 15:14:27 +0100
Subject: [PATCH] [BUGFIX] Fix API documentation for sessionTimeout

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>
---
 .../Authentication/BackendUserAuthentication.php       | 10 ++++++----
 .../Authentication/FrontendUserAuthentication.php      | 10 ++++++----
 2 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php b/typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php
index 64f4d265cd8f..e85d19caa018 100644
--- a/typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php
+++ b/typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php
@@ -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;
 
diff --git a/typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php b/typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php
index 0416a7cf350e..42b0b1d7c7a2 100644
--- a/typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php
+++ b/typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php
@@ -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;
 
-- 
GitLab