-
-
-
- {headerAuth
- ? t(
- "resourceHeaderAuthProtectionEnabled"
- )
- : t(
- "resourceHeaderAuthProtectionDisabled"
- )}
-
-
+ {/* Header auth row */}
+
+
+
+
+ {headerAuth
+ ? t(
+ "resourceHeaderAuthProtectionEnabled"
+ )
+ : t(
+ "resourceHeaderAuthProtectionDisabled"
+ )}
+
+
+
+
+
+
+
+
-
-
-
+
+
+
>
);
}
@@ -1170,13 +1220,13 @@ export function PolicyOtpEmailSection({
emailEnabled
}: PolicyOtpEmailSectionProps) {
const t = useTranslations();
- const [isOpen, setIsOpen] = useState(false);
+ const [isExpanded, setIsExpanded] = useState(false);
const [whitelistEnabled, setWhitelistEnabled] = useState(false);
const [activeEmailTagIndex, setActiveEmailTagIndex] = useState<
number | null
>(null);
- if (!isOpen) {
+ if (!isExpanded) {
return (
@@ -1191,7 +1241,7 @@ export function PolicyOtpEmailSection({