oops accidentally broke password changes

This commit is contained in:
Wingy 2021-09-15 02:55:39 -04:00
parent 9c6c7df92b
commit 62d5e395fa
3 changed files with 7 additions and 1 deletions

View file

@ -6,7 +6,6 @@ const fs = require('fs/promises')
module.exports = ({ db, config }) => {
async function ensurePfp (username) {
const user = await db.get(username)
console.log(user)
if (user.pfp) return
const { rows } = await db.allDocs({ include_docs: true })