fix: form post template

This commit is contained in:
Lakhan Samani
2022-10-18 23:03:52 +05:30
parent eaa10ec5bc
commit 7c2693b086
2 changed files with 7 additions and 7 deletions

View File

@@ -4,9 +4,9 @@
<title>Authorization Response</title>
</head>
<body onload="document.forms['authorize_form_post'].submit()">
<form action={{.target_origin}} name="authorize_form_post">
<form action="{{.target_origin}}" name="authorize_form_post" method="POST">
{{ range $key, $val := .authorization_response }}
<input type="hidden" key={{$key}} value={{$val}} name={{$key}} id={{$key}} />
<input type="hidden" key="{{$key}}" value="{{$val}}" name="{{$key}}" id="{{$key}}" />
{{ end }}
</form>
</body>