-
-
Notifications
You must be signed in to change notification settings - Fork 963
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: admin recovery CSRF & duplicate form elements (#2846)
- Loading branch information
1 parent
411cd79
commit de80b7f
Showing
3 changed files
with
63 additions
and
7 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
...stAdminStrategy-case=form_should_not_contain_email_field_when_creating_recovery_code.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
[ | ||
{ | ||
"type": "input", | ||
"group": "code", | ||
"attributes": { | ||
"name": "code", | ||
"type": "number", | ||
"required": true, | ||
"disabled": false, | ||
"node_type": "input" | ||
}, | ||
"messages": [], | ||
"meta": { | ||
"label": { | ||
"id": 1070006, | ||
"text": "Verify code", | ||
"type": "info" | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "input", | ||
"group": "code", | ||
"attributes": { | ||
"name": "method", | ||
"type": "submit", | ||
"value": "code", | ||
"disabled": false, | ||
"node_type": "input" | ||
}, | ||
"messages": [], | ||
"meta": { | ||
"label": { | ||
"id": 1070005, | ||
"text": "Submit", | ||
"type": "info" | ||
} | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters