Skip to content

Commit 79d1d14

Browse files
authored
Merge pull request #247 from brionmario/fix-asgardeo-v2-signup
fix: passwords still having `text` type
2 parents aff6158 + 0a65c1f commit 79d1d14

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/fair-apples-cough.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@asgardeo/react': patch
3+
---
4+
5+
Fix passwords still having `text` type

packages/react/src/components/presentation/SignUp/transformer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const convertSimpleInputToComponent = (
117117
type: EmbeddedFlowComponentType.Input,
118118
variant,
119119
config: {
120-
type: input.type,
120+
type: fieldType,
121121
label,
122122
placeholder,
123123
required: input.required as boolean,

0 commit comments

Comments
 (0)