System config form: Admin login security
This form is used for managing settings for two factor authentication, admin 'remember me', etc.
File path | /forms/system-config/admin-login-security.xml |
---|---|
Form ID | system-config.admin-login-security |
<?xml version="1.0" encoding="UTF-8"?>
<form i18nBaseUri="system-config.admin-login-security:" feature="admin">
<tab id="rememberme" sortorder="10">
<fieldset id="rememberme" sortorder="10">
<field name="rememberme_enabled" control="yesNoSwitch" required="false" />
<field name="rememberme_expiry_in_days" control="spinner" required="false" defaultvalue="30" />
</fieldset>
</tab>
<tab id="2fa" sortorder="20" feature="twoFactorAuthentication">
<fieldset id="2fa" sortorder="10">
<field name="tfa_enabled" control="yesNoSwitch" required="false" />
<field name="tfa_app_name" control="textinput" required="false" />
<field name="tfa_enforced" control="yesNoSwitch" required="false" />
<field name="tfa_trust_period" control="spinner" required="false" defaultvalue="7" minValue="0"/>
</fieldset>
</tab>
</form>