diff options
author | Sebastian <sebasjm@gmail.com> | 2022-06-06 00:54:55 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-06-06 00:54:55 -0300 |
commit | e96358c5554794903f451b77555382d3622a9ece (patch) | |
tree | 76e1ff5d8cc5f5f51710716422192389e6c07929 /packages/anastasis-webui/src/pages/home/authMethod/AuthMethodTotpSetup.tsx | |
parent | e2a987a18255aa95157ab8bf19a8f09f8833a472 (diff) | |
download | wallet-core-e96358c5554794903f451b77555382d3622a9ece.tar.gz wallet-core-e96358c5554794903f451b77555382d3622a9ece.tar.bz2 wallet-core-e96358c5554794903f451b77555382d3622a9ece.zip |
eslint
Diffstat (limited to 'packages/anastasis-webui/src/pages/home/authMethod/AuthMethodTotpSetup.tsx')
-rw-r--r-- | packages/anastasis-webui/src/pages/home/authMethod/AuthMethodTotpSetup.tsx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodTotpSetup.tsx b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodTotpSetup.tsx index a191fb9e6..d282bc223 100644 --- a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodTotpSetup.tsx +++ b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodTotpSetup.tsx @@ -1,11 +1,11 @@ -import { encodeCrock, stringToBytes } from "@gnu-taler/taler-util"; +import { encodeCrock } from "@gnu-taler/taler-util"; import { h, VNode } from "preact"; import { useMemo, useState } from "preact/hooks"; -import { AuthMethodSetupProps } from "./index"; -import { AnastasisClientFrame } from "../index"; -import { TextInput } from "../../../components/fields/TextInput"; -import { QR } from "../../../components/QR"; -import { base32enc, computeTOTPandCheck } from "./totp"; +import { TextInput } from "../../../components/fields/TextInput.js"; +import { QR } from "../../../components/QR.js"; +import { AnastasisClientFrame } from "../index.js"; +import { AuthMethodSetupProps } from "./index.js"; +import { base32enc, computeTOTPandCheck } from "./totp.js"; /** * This is hard-coded in the protocol for TOTP auth. @@ -69,8 +69,8 @@ export function AuthMethodTotpSetup({ bind={[test, setTest]} /> <div> - We note that Google's implementation of TOTP is incomplete and will not - work. We recommend using FreeOTP+. + We note that Google's implementation of TOTP is incomplete and will + not work. We recommend using FreeOTP+. </div> {configured.length > 0 && ( |