{% requireEdition CraftPro %} {% extends "settings/users/_layout" %} {% set selectedTab = 'settings' %} {% set docsUrl = 'http://buildwithcraft.com/docs/users' %} {% import "_includes/forms" as forms %} {% if settings is not defined %} {% set settings = craft.systemSettings.users %} {% endif %} {% set content %}
{{ forms.checkboxField({ label: "Verify email addresses?"|t, instructions: "Should new email addresses be verified before getting saved to user accounts? (This also affects new user registration.)"|t, name: 'requireEmailVerification', checked: settings.requireEmailVerification, }) }} {{ forms.checkboxField({ first: true, label: "Allow public registration?"|t, name: 'allowPublicRegistration', checked: settings.allowPublicRegistration, toggle: 'publicRegistrationSettings' }) }}
{% endset %}