oops accidentally broke password changes
This commit is contained in:
parent
9c6c7df92b
commit
62d5e395fa
3 changed files with 7 additions and 1 deletions
|
@ -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 })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue