aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorM.Dent <dentm42@dm42.net>2018-08-10 13:51:45 -0400
committerDM42.Net (Matt Dent) <dentm42@dm42.net>2018-08-10 13:54:26 -0400
commitaf042ccf07b00af70b5e7844747dde9a263c697c (patch)
tree1f392b7a3ea4e245a72090ff8f08d3d2912a1e4f /view
parente587fe5ce84ed5c248287eb55c6ae193ebd3222b (diff)
downloadvolse-hubzilla-af042ccf07b00af70b5e7844747dde9a263c697c.tar.gz
volse-hubzilla-af042ccf07b00af70b5e7844747dde9a263c697c.tar.bz2
volse-hubzilla-af042ccf07b00af70b5e7844747dde9a263c697c.zip
OAuth2 UI and settings updates
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>