+ {/* Session Management */}
+
+
+
+ Session Management
+
+
+
+
+
updateField('session_duration_hours', parseInt(e.target.value) || 1)}
+ className="w-full px-3 py-2 border rounded-lg text-sm dark:bg-gray-700 dark:border-gray-600 dark:text-white focus:ring-2 focus:ring-blue-500"
+ />
+
+ How long a session cookie remains valid before requiring re-login
+
+
+
+
+
updateField('max_sessions_per_user', parseInt(e.target.value) || 1)}
+ className="w-full px-3 py-2 border rounded-lg text-sm dark:bg-gray-700 dark:border-gray-600 dark:text-white focus:ring-2 focus:ring-blue-500"
+ />
+
+ Maximum concurrent sessions allowed per user account
+
+
+
+
+
+ {/* Password Policy */}
+
+
+
+ Password Policy
+
+
+
+
+
updateField('password_min_length', parseInt(e.target.value) || 8)}
+ className="w-full px-3 py-2 border rounded-lg text-sm dark:bg-gray-700 dark:border-gray-600 dark:text-white focus:ring-2 focus:ring-blue-500"
+ />
+
+ Minimum number of characters required for passwords
+
+
+
+
+
updateField('password_max_length', Math.min(72, parseInt(e.target.value) || 72))}
+ className="w-full px-3 py-2 border rounded-lg text-sm dark:bg-gray-700 dark:border-gray-600 dark:text-white focus:ring-2 focus:ring-blue-500"
+ />
+
+ Maximum password length (capped at 72 for bcrypt compatibility)
+
+
+
+
+
+ {/* Login Protection */}
+
+
+
+ Login Protection
+
+
+
+
+
updateField('login_rate_limit_per_minute', parseInt(e.target.value) || 5)}
+ className="w-full px-3 py-2 border rounded-lg text-sm dark:bg-gray-700 dark:border-gray-600 dark:text-white focus:ring-2 focus:ring-blue-500"
+ />
+
+ Maximum login attempts per IP address per minute
+
+
+
+
+
updateField('account_lockout_attempts', parseInt(e.target.value) || 0)}
+ className="w-full px-3 py-2 border rounded-lg text-sm dark:bg-gray-700 dark:border-gray-600 dark:text-white focus:ring-2 focus:ring-blue-500"
+ />
+
+ Lock account after this many failed attempts (0 = disabled)
+
+
+
+
+
+ {/* Network */}
+
+
+
+ Network
+
+
+
+
+
+
+ {/* Coming Soon sections */}
+
+
+
+ Roles & Permissions
+
+ coming soon
+
+
+
+ Custom roles, fine-grained permissions, and role-based access control configuration.
+
+
+
+
+
+
+ SSO / OIDC
+
+ coming soon
+
+
+
+ Single sign-on with OpenID Connect providers (Okta, Azure AD, Google Workspace).
+
+
+