fix csrf tokens on login form
This commit is contained in:
parent
3adaaf0a49
commit
aeae0d09cd
1 changed files with 2 additions and 1 deletions
|
|
@ -5,7 +5,8 @@
|
|||
</head>
|
||||
<body>
|
||||
<form method="post" action="/login">
|
||||
<input type="hidden" name="{{ csrf.name }}" value="{{ csrf.value }}">
|
||||
<input type="hidden" name="csrf_name" value="{{ csrf.name }}">
|
||||
<input type="hidden" name="csrf_value" value="{{ csrf.value }}">
|
||||
<label>Email <input type="email" name="email" required></label><br>
|
||||
<label>Password <input type="password" name="password" required></label><br>
|
||||
<button type="submit">Sign in</button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue