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,6 +7,7 @@
|
||||||
<h2>You're about to follow <strong>{{ profile}} </strong></h2>
|
<h2>You're about to follow <strong>{{ profile}} </strong></h2>
|
||||||
|
|
||||||
<form method="POST" action="">
|
<form method="POST" action="">
|
||||||
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
|
||||||
<input type="hidden" name="profile" value="{{ profile }}">
|
<input type="hidden" name="profile" value="{{ profile }}">
|
||||||
<input type="submit" value="follow">
|
<input type="submit" value="follow">
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in a new issue