Mittwoch, 18. Mai, 2016
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
MongoDB CRUD the MVC way with Passport Authentication 73<br />
11 eet"><br />
12 <br />
13 <br />
14 <br />
15 <br />
16 <br />
17<br />
18 <br />
19 <br />
20 Register<br />
21<br />
22 Username<br />
23 <br />
25<br />
26 Name<br />
27 <br />
29<br />
30 E-mail<br />
31 <br />
33<br />
34 Password<br />
35 <br />
37<br />
38 Regis\<br />
39 ter<br />
40 <br />
41<br />
42 <br />
43 <br />
44 Login with Facebook |<br />
45 Login with Twitter<br />
46 <br />
47 <br />
48 <br />
49 <br />
50 <br />
One thing you should note in the login.ejs and register.ejs files are the name parameters of the input<br />
fields - they correspond to the Mongoose User model fields.