Skip to content

Commit

Permalink
Limit the maximum length of the sessionTimeout input field (see #411)
Browse files Browse the repository at this point in the history
  • Loading branch information
leofeyer committed Apr 25, 2019
1 parent a045ccc commit 432251d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core-bundle/src/Resources/contao/dca/tl_settings.php
Expand Up @@ -285,7 +285,7 @@
(
'label' => &$GLOBALS['TL_LANG']['tl_settings']['sessionTimeout'],
'inputType' => 'text',
'eval' => array('mandatory'=>true, 'rgxp'=>'natural', 'minlength'=>3, 'nospace'=>true, 'tl_class'=>'w50')
'eval' => array('mandatory'=>true, 'rgxp'=>'natural', 'minlength'=>3, 'maxlength'=>7, 'nospace'=>true, 'tl_class'=>'w50')
),
'autologin' => array
(
Expand Down

0 comments on commit 432251d

Please sign in to comment.