mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
Fix CSRF for the remote follow (admin side)
This commit is contained in:
parent
362e9c660f
commit
b4d44294e2
1 changed files with 3 additions and 2 deletions
|
@ -7,8 +7,9 @@
|
|||
<h2>You're about to follow <strong>{{ profile}} </strong></h2>
|
||||
|
||||
<form method="POST" action="">
|
||||
<input type="hidden" name="profile" value="{{ profile }}">
|
||||
<input type="submit" value="follow">
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
|
||||
<input type="hidden" name="profile" value="{{ profile }}">
|
||||
<input type="submit" value="follow">
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue