get email persisting but still need to pull it in on authentication

This commit is contained in:
Michael Q Larson
2014-10-24 15:22:09 -07:00
parent 64a792e831
commit b68458cdb5
4 changed files with 39 additions and 16 deletions

View File

@ -3,7 +3,7 @@ var bcrypt = require('bcrypt-nodejs');
var crypto = require('crypto');
var userSchema = new mongoose.Schema({
// email: { type: String, unique: true, lowercase: true },
email: { type: String, unique: true, lowercase: true },
// password: String,
linkedin: String,

View File

@ -1,8 +1,8 @@
extends layout
block content
.page-header
h1 We love non-profits!
.jumbotron
h1 Hey non-profits,
h2 We want to help you get things done faster and better!
h3 Our students will help you build that donor tracking system, community message board, or whatever your organization needs, at no cost. In exchange, we ask only that you:
h4

View File

@ -4,10 +4,10 @@ html
meta(charset='utf-8')
meta(http-equiv='X-UA-Compatible', content='IE=edge')
meta(name='viewport', content='width=device-width, initial-scale=1.0')
meta(name='description', content='')
meta(name='csrf-token', content=_csrf)
meta(name='author', content='')
include partials/meta
title #{title} | Free Code Camp
!= css('styles')
body
include partials/navbar

23
views/partials/meta.jade Normal file
View File

@ -0,0 +1,23 @@
title Building apps for non-profits.
meta(name='keywords', content='foo bar baz')
meta(content="Your free coding bootcamp. Learn JavaScript, build a portfolio, and get great references - all by helping non-profits!", property="og:title")
meta(content="FreeCodeCamp", property="og:site_name")
meta(content="http://www.freecodecamp.com", property="og:url")
meta(content="Your free coding bootcamp. Learn JavaScript, build a portfolio, and get great references - all by helping non-profits!", property="og:description")
meta(content="https://s3.amazonaws.com/courseforward/freecodecamp_logo.png", property="og:image")
meta(content="article", property="og:type")
meta(content="https://www.facebook.com/freecodecamp", property="article:publisher")
meta(content="Responsive", property="article:section")
//meta(content="44011818", property="fb:admins")
//Google
meta(content="Your free coding bootcamp. Learn JavaScript, build a portfolio, and get great references - all by helping non-profits!", name="description")
link(href="https://plus.google.com/114148836969274586544", rel="author")
//Twitter
meta(content="freecodecamp", name="twitter:creator")
meta(content="http://www.freecodecamp.com", name="twitter:url")
meta(content="freecodecamp", name="twitter:site")
meta(content="summary_large_image", name="twitter:card")
meta(content="Your free coding bootcamp. Learn JavaScript, build a portfolio, and get great references - all by helping non-profits!", name="twitter:title")
meta(content="https://s3.amazonaws.com/courseforward/freecodecamp_logo.png", name="twitter:image:src")
meta(content="Your free coding bootcamp. Learn JavaScript, build a portfolio, and get great references - all by helping non-profits!", name="twitter:description")
meta(content="a40ee5d5dba3bb091ad783ebd2b1383f", name="p:domain_verify")