Skip to content

Commit

Permalink
include required CSRF token for /invite API to function.
Browse files Browse the repository at this point in the history
  • Loading branch information
pbugni committed Sep 10, 2024
1 parent 82e5678 commit 79f42d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions portal/templates/invite.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<h1 class="tnth-headline">{{ _("Email Invite") }}</h1>
<p>{{ _("Send a TrueNTH email invite by filling in the form below.") }}</p>
<form action="/invite" method="post">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
<div class="form-group">
<label for="recipients">{{ _("To (separate multiple addresses with white space)") }}</label>
<input type="text" class="form-control" name="recipients" id="recipients" size='79' placeholder="user@example.com">
Expand Down

0 comments on commit 79f42d5

Please sign in to comment.