${_('User Sessions Configuration')}

<% elems = [ (_('Session type'), c.session_model.SESSION_TYPE, ''), (_('Session expiration period'), '{} seconds'.format(c.session_conf.get('beaker.session.timeout', 0)), ''), (_('Total sessions'), c.session_count, ''), (_('Expired sessions ({} days)').format(c.cleanup_older_days ), c.session_expired_count, ''), ] %>
%for dt, dd, tt in elems:
${dt}:
${dd}
%endfor

${_('Cleanup Old Sessions')}

${h.secure_form(h.url('admin_settings_sessions_cleanup'), method='post')}
${_('Cleanup all sessions that were not active during choosen time frame')}
${_('Picking All will log-out all users in the system, and each user will be required to log in again.')}
${h.end_form()}