Skip to content

Commit 516cd2b

Browse files
CSRF
1 parent 9623be0 commit 516cd2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web/templates/login.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
</td>
1010
<td style="padding: 20px 0 0 0;">
1111
<form method="post" action="/login/" >
12+
<input type="hidden" name="token" value="<?php echo $_SESSION['token']; ?>">
1213
<table class="login-box">
1314
<tr>
1415
<td syle="padding: 12px 0 0 2px;">

0 commit comments

Comments
 (0)