Commit Graph

69 Commits (4ac97bef4d4527437b949998faf3f05af72ec8f2)

Author SHA1 Message Date
Sahat Yalkabov 9c389c1afb Profile data defaults to empty string to prevent value of undefined on account page 2013-12-06 00:03:07 -05:00
Sahat Yalkabov 69f41c296a Schema refactoring 2013-12-05 23:46:47 -05:00
Sahat Yalkabov 1ddd639592 Client-side required password and email fields 2013-12-05 23:12:43 -05:00
Sahat Yalkabov 3ecd3ad148 Simplified local strategy signup process, email is now a username 2013-12-05 22:48:09 -05:00
Sahat Yalkabov 0c842286ef Added google token, modified admin attribute, email is now username and old email is just plain email, no longer a primary key, first name and last name are just name now 2013-12-05 22:42:20 -05:00
Sahat Yalkabov d642e8d332 oauth tokens are now explicitly defined in the model schema 2013-11-30 00:52:53 -05:00
Sahat Yalkabov 13bd8ef9c8 Changed tokens type from Array to Mixed to allow overriding existing tokens instead of pushing duplicates 2013-11-19 17:28:04 -05:00
Sahat Yalkabov 0747ee7303 Changed model name so hopefully that fixes a bug where it was User with capital letter in IDE and user with loweer case letter in Git 2013-11-19 17:15:13 -05:00
Sahat Yalkabov f622882de4 added tokens field to User model 2013-11-19 17:14:02 -05:00
Sahat Yalkabov 0fcc9492be removed required:true from firstname and lastname 2013-11-19 13:13:41 -05:00
Sahat Yalkabov dd0dbd7138 fixed repeated login error, no longer throws duplicate user error 2013-11-19 01:57:13 -05:00
Sahat Yalkabov 01f027430b Fixed Login passport configuration, plus code refactoring and cleanup 2013-11-18 17:37:50 -05:00
Sahat Yalkabov bdfec9f914 added flash messages to login route 2013-11-18 14:37:01 -05:00
Sahat Yalkabov 26ddda1c0a Cleanup and refactoring 2013-11-15 11:13:21 -05:00
Sahat Yalkabov d18ae61019 Finally got angular to work with express partial routes 2013-11-14 02:29:55 -05:00
Sahat Yalkabov 56eb0e4e73 converted all auth functions to use mongoose 2013-11-14 00:15:52 -05:00
Sahat Yalkabov cd1af7e230 moved helper functions to auth.js as well as all passport strategies 2013-11-13 22:11:21 -05:00
Sahat Yalkabov fc5563c70c added sample app for client-server authentication 2013-11-13 17:16:06 -05:00
Sahat Yalkabov 06b777cce9 Cleanup 2013-11-13 15:49:58 -05:00