aboutsummaryrefslogtreecommitdiff
path: root/packages/anastasis-webui/src/pages/home/AttributeEntryScreen.tsx
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-04-13 19:32:12 +0200
committerFlorian Dold <florian@dold.me>2022-04-13 19:32:17 +0200
commit5054ff6c6d200e8d4d7658e001b0bcb1936d6876 (patch)
tree325c7ad151554cc5927c266f0331eb4fdad57516 /packages/anastasis-webui/src/pages/home/AttributeEntryScreen.tsx
parentec9aed276a5c837a9a93bae2a4c2e61d77256cc1 (diff)
downloadwallet-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.tsx7
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,
+ },
});
};