${_('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.route_path('admin_settings_sessions_cleanup'), method='post')}

${_('Cleanup user sessions that were not active during chosen time frame.')}
${_('After performing this action users whose session will be removed will be required to log in again.')}
${_('Picking `All` will log-out you, and all users in the system.')}

${h.end_form()}