feat: save page

This commit is contained in:
NGPixel
2018-07-22 00:29:39 -04:00
parent c7b675bb1c
commit cb84df7a53
13 changed files with 192 additions and 66 deletions

View File

@@ -15,7 +15,7 @@ module.exports = {
}, (uEmail, uPassword, done) => {
WIKI.db.users.query().findOne({
email: uEmail,
provider: 'local'
providerKey: 'local'
}).then((user) => {
if (user) {
return user.verifyPassword(uPassword).then(() => {