Skip to content

Commit 66a0535

Browse files
author
patched.codes[bot]
committed
Patched introduction/templates/Lab/BrokenAuth/otp.html
1 parent 5e93c79 commit 66a0535

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • introduction/templates/Lab/BrokenAuth

introduction/templates/Lab/BrokenAuth/otp.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<div class="container">
88
<h5 align="center">Login Through Otp</h5><br>
99
<form method="get" action="/otp">
10+
{% csrf_token %}
1011
<input name="email" type="email" placeholder="yourid@mail.com">
1112
<button class="btn btn-info" type="submit"> Send OTP</button>
1213

@@ -16,6 +17,7 @@ <h5 align="center">Login Through Otp</h5><br>
1617
</div>
1718
<div class="container">
1819
<form method="post" action="/otp">
20+
{% csrf_token %}
1921
<label for='enter'>Enter Your OTP:</label>
2022
<input id="enter" type="number" maxlength="3" name="otp"><br><br>
2123
<button class="btn btn-info" type="submit">Log in</button>
@@ -34,4 +36,4 @@ <h3 align="center">Login Successful as user : <code>{{email}}</code></h3>
3436

3537
</div>
3638
<!-- In case any issue with the code please mail the administrator through this mail id : "admin@pygoat.com" -->
37-
{% endblock %}
39+
{% endblock %}

0 commit comments

Comments
 (0)