aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2018-08-12 14:06:24 +0200
committerMario <mario@mariovavti.com>2018-08-12 14:06:24 +0200
commite07ab65d73b690184578f5a530b236078616509f (patch)
treeab0a3b39ae026691e1d8b33a069cd728a7532f9d /view
parent26f51ece9081e3994fd591906b5ccc608cfbf709 (diff)
parentaf042ccf07b00af70b5e7844747dde9a263c697c (diff)
downloadvolse-hubzilla-e07ab65d73b690184578f5a530b236078616509f.tar.gz
volse-hubzilla-e07ab65d73b690184578f5a530b236078616509f.tar.bz2
volse-hubzilla-e07ab65d73b690184578f5a530b236078616509f.zip
Merge branch 'oauth2-ui-pr' into 'dev'
Oauth2 ui pr See merge request hubzilla/core!1255
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/settings_oauth2.tpl7
1 files changed, 4 insertions, 3 deletions
diff --git a/view/tpl/settings_oauth2.tpl b/view/tpl/settings_oauth2.tpl
index 882d34ea9..f3bf59a12 100755
--- a/view/tpl/settings_oauth2.tpl
+++ b/view/tpl/settings_oauth2.tpl
@@ -4,8 +4,6 @@
</div>
<div class="section-content-tools-wrapper">
-<form action="settings/oauth2" method="post" autocomplete="off">
-<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
<div id="profile-edit-links">
<ul>
@@ -16,6 +14,9 @@
</div>
{{foreach $apps as $app}}
+<form action="settings/oauth2" method="post" autocomplete="off">
+<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
+<input type='hidden' name='name' value='{{$app.client_id}}'>
<div class='oauthapp'>
{{if $app.client_id}}<h4>{{$app.client_id}}</h4>{{else}}<h4>{{$noname}}</h4>{{/if}}
{{if $app.my}}
@@ -28,8 +29,8 @@
<a href="{{$baseurl}}/settings/oauth2/delete/{{$app.client_id}}?t={{$form_security_token}}" title="{{$delete}}"><i class="fa fa-trash-o btn btn-outline-secondary"></i></a>
{{/if}}
</div>
+</form>
{{/foreach}}
-</form>
</div>
</div>