Skip to content

Instantly share code, notes, and snippets.

@Shekharrajak
Created July 16, 2015 05:50
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/12b8a0e4e3fbac6c42ba to your computer and use it in GitHub Desktop.
Save Shekharrajak/12b8a0e4e3fbac6c42ba 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="/signup" method="POST" class="form-signin">
<h3>Create a new account..</h3>
<input type="text" class="form-control" placeholder="Email address" name="email"><br>
<input type="password" class="form-control" placeholder="Password" name="paassword"><br>
<input type="submit" class="btn btn-success center-block col-xs-12" value="Sign Up"><br>
<p style="text-align:center;margin-top:30px;">Already have an account? <a href="/login">Sign in</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