import React from 'react';
import { Divider, Flex, Stack, Text } from '@chakra-ui/react';
import InputField from '../InputField';
import { SwitchInputType } from '../../constants';
const Features = ({ variables, setVariables }: any) => {
return (
{' '}
Features
Login Page:
Email Verification:
Magic Login Link:
Basic Authentication:
Sign Up:
Strong Password:
Multi Factor Authentication (MFA):
Note: Enabling this will ignore Enforcing MFA shown below and will
also ignore the user MFA setting.
{!variables.DISABLE_MULTI_FACTOR_AUTHENTICATION && (
Time Based OTP (TOTP):
Note: to enable totp mfa
)}
{!variables.DISABLE_MULTI_FACTOR_AUTHENTICATION && (
EMAIL OTP:
Note: to enable email otp mfa
)}
Enforce Multi Factor Authentication (MFA):
Note: If you disable enforcing after it was enabled, it will still
keep MFA enabled for older users.
Playground:
Cookie Security Features
Use Secure App Cookie:
Note: If you set this to insecure, it will set{' '}
sameSite
property of cookie to lax
mode
Use Secure Admin Cookie:
);
};
export default Features;