aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/files.js
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2018-10-11 10:53:25 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-10-11 10:53:25 +0200
commitc2916b62d3faf36200dc7c6c314449287f47e32c (patch)
tree472a6a8a28feedeaf48748f16dd56e2443625988 /apps/files/js/files.js
parent9277d242b0d528b93f5725d66eba24e2517dbb18 (diff)
downloadnextcloud-server-c2916b62d3faf36200dc7c6c314449287f47e32c.tar.gz
nextcloud-server-c2916b62d3faf36200dc7c6c314449287f47e32c.zip
Ignore "session_lifetime" if it can not be converted to a number
When "session_lifetime" can not be converted to a number the interval becomes a NaN due to dividing it by 2. This NaN was "dragged" over all the other mathematical operations and caused the csrftoken to be got again and again due to an infinite loop with no pauses in "setInterval". Now, the interval is set to the default value instead if the "session_lifetime" can not be converted to a number. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'apps/files/js/files.js')
0 files changed, 0 insertions, 0 deletions