File tree Expand file tree Collapse file tree
introduction/templates/Lab/BrokenAuth Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 %}
You can’t perform that action at this time.
0 commit comments