diff options
author | Florian Dold <florian@dold.me> | 2022-04-13 19:32:12 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-04-13 19:32:17 +0200 |
commit | 5054ff6c6d200e8d4d7658e001b0bcb1936d6876 (patch) | |
tree | 325c7ad151554cc5927c266f0331eb4fdad57516 /packages/anastasis-webui/src/pages/home/AttributeEntryScreen.tsx | |
parent | ec9aed276a5c837a9a93bae2a4c2e61d77256cc1 (diff) | |
download | wallet-core-5054ff6c6d200e8d4d7658e001b0bcb1936d6876.tar.xz |
anastasis-webui: make TOTP work again
Diffstat (limited to 'packages/anastasis-webui/src/pages/home/AttributeEntryScreen.tsx')
-rw-r--r-- | packages/anastasis-webui/src/pages/home/AttributeEntryScreen.tsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/anastasis-webui/src/pages/home/AttributeEntryScreen.tsx b/packages/anastasis-webui/src/pages/home/AttributeEntryScreen.tsx index 501415c40..257c28075 100644 --- a/packages/anastasis-webui/src/pages/home/AttributeEntryScreen.tsx +++ b/packages/anastasis-webui/src/pages/home/AttributeEntryScreen.tsx @@ -1,6 +1,6 @@ import { UserAttributeSpec, validators } from "@gnu-taler/anastasis-core"; import { isAfter, parse } from "date-fns"; -import { Fragment, h, VNode } from "preact"; +import { h, VNode } from "preact"; import { useState } from "preact/hooks"; import { DateInput } from "../../components/fields/DateInput"; import { PhoneNumberInput } from "../../components/fields/NumberInput"; @@ -72,7 +72,10 @@ export function AttributeEntryScreen(): VNode { const doConfirm = async () => { await reducer.transition("enter_user_attributes", { - identity_attributes: attrs, + identity_attributes: { + application_id: "anastasis-standalone", + ...attrs, + }, }); }; |