Skip to content

Instantly share code, notes, and snippets.

@Shekharrajak
Last active August 29, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Shekharrajak/828dea2ebe5d4e0649a7 to your computer and use it in GitHub Desktop.
Save Shekharrajak/828dea2ebe5d4e0649a7 to your computer and use it in GitHub Desktop.
For the tutorial on medium.com : passportJS auth
<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