Skip to content

Commit 06214f0

Browse files
committed
feat: add switch to enable totp
1 parent 109b38e commit 06214f0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

dashboard/src/components/EnvComponents/Features.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,10 @@ const Features = ({ variables, setVariables }: any) => {
108108
/>
109109
</Flex>
110110
</Flex>
111-
{/** TODO enable after final release */}
112-
{/* {!variables.DISABLE_MULTI_FACTOR_AUTHENTICATION && (
111+
{!variables.DISABLE_MULTI_FACTOR_AUTHENTICATION && (
113112
<Flex alignItems="center">
114113
<Flex w="100%" alignItems="baseline" flexDir="column">
115-
<Text fontSize="sm">TOTP:</Text>
114+
<Text fontSize="sm">Time Based OTP (TOTP):</Text>
116115
<Text fontSize="x-small">Note: to enable totp mfa</Text>
117116
</Flex>
118117

@@ -125,7 +124,7 @@ const Features = ({ variables, setVariables }: any) => {
125124
/>
126125
</Flex>
127126
</Flex>
128-
)} */}
127+
)}
129128
{!variables.DISABLE_MULTI_FACTOR_AUTHENTICATION && (
130129
<Flex alignItems="center">
131130
<Flex w="100%" alignItems="baseline" flexDir="column">

0 commit comments

Comments
 (0)