mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 04:15:15 +02:00
Some security against XSRF-attacks
This commit is contained in:
parent
9574f7df03
commit
59766b944c
13 changed files with 131 additions and 38 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue