mirror of
https://github.com/kevin-DL/sapper-template.git
synced 2026-01-18 04:35:10 +00:00
Work on signup. Removed polka, using express since passport was being weird
This commit is contained in:
@@ -1,16 +1,15 @@
|
||||
// WARNING: THIS HELPER FILE IS NOT GOOD PRACTICE AND ONLY HERE FOR CONVENIENCE
|
||||
// use a real database for persisting users instead
|
||||
|
||||
// const Users = [{
|
||||
// username: 'general-zod',
|
||||
// email: 'general.zod@krypton.com',
|
||||
// hash: '',
|
||||
// }, {
|
||||
// username: 'kal-el',
|
||||
// email: 'kal-el@krypton.com',
|
||||
// hash: '',
|
||||
// }];
|
||||
const Users = [];
|
||||
const Users = [{
|
||||
username: 'general-zod',
|
||||
email: 'general.zod@krypton.com',
|
||||
hash: '$2b$10$wP/YQvEX1pC4F1Unnf46ceOR1I6Q.OgOtRNjUT7NxbBDW8vxEEGSK', // the password is `password`
|
||||
}, {
|
||||
username: 'kal-el',
|
||||
email: 'kal-el@krypton.com',
|
||||
hash: '$2b$10$wP/YQvEX1pC4F1Unnf46ceOR1I6Q.OgOtRNjUT7NxbBDW8vxEEGSK', // the password is `password`
|
||||
}];
|
||||
|
||||
export default {
|
||||
find(key, value) {
|
||||
|
||||
Reference in New Issue
Block a user