diff options
author | friendica <info@friendica.com> | 2012-03-13 14:36:52 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-03-13 14:36:52 -0700 |
commit | acc4bbeb6ebc832da2a8b5a37b764a6a53dd1214 (patch) | |
tree | 018927c54c16f68aeae7153c81c404d3e9cbbc7d /view/settings_oauth.tpl | |
parent | 5a4167646553e589cf9647c0e0d0446e3f5fd672 (diff) | |
parent | 59766b944c9ea3a45b1d7e8593f7bb5d4a0b8445 (diff) | |
download | volse-hubzilla-acc4bbeb6ebc832da2a8b5a37b764a6a53dd1214.tar.gz volse-hubzilla-acc4bbeb6ebc832da2a8b5a37b764a6a53dd1214.tar.bz2 volse-hubzilla-acc4bbeb6ebc832da2a8b5a37b764a6a53dd1214.zip |
Merge pull request #129 from CatoTH/master
CSRF-Protection and minor changes
Diffstat (limited to 'view/settings_oauth.tpl')
-rwxr-xr-x | view/settings_oauth.tpl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/view/settings_oauth.tpl b/view/settings_oauth.tpl index 0de0dbe98..da1398ab9 100755 --- a/view/settings_oauth.tpl +++ b/view/settings_oauth.tpl @@ -4,7 +4,8 @@ $tabs <form action="settings/oauth" method="post" autocomplete="off"> - +<input type='hidden' name='form_security_token' value='$form_security_token'> + <div id="profile-edit-links"> <ul> <li> @@ -24,7 +25,7 @@ $tabs {{ endif }} {{ if $app.my }} <a href="$baseurl/settings/oauth/edit/$app.client_id" class="icon s22 edit" title="$edit"> </a> - <a href="$baseurl/settings/oauth/delete/$app.client_id" class="icon s22 delete" title="$delete"> </a> + <a href="$baseurl/settings/oauth/delete/$app.client_id?t=$form_security_token" class="icon s22 delete" title="$delete"> </a> {{ endif }} </div> {{ endfor }} |