Last active
August 29, 2015 14:25
-
-
Save Shekharrajak/828dea2ebe5d4e0649a7 to your computer and use it in GitHub Desktop.
For the tutorial on medium.com : passportJS auth
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class = "col-md-6" style="left:20%;margin-top:10%"> | |
<form action="/login" method="POST" class="form-signin"> | |
<br> | |
<br><br> | |
<h3> Login here </h3> | |
<input type="text" class="form-control" placeholder="Email address" name="email"><br> | |
<input type="password" class="form-control" placeholder="Password" name="password"><br> | |
<input type="submit" class="btn btn-default center-block col-xs-12" value="Login"><br> | |
<p style="text-align:center;margin-top:30px;">Don't have an account? <a href="/signup">Sign Up</a></p> | |
<input type="hidden" value="<%= _csrf %>" name="_csrf"> | |
</form> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment