fix: ensure profile picture on admin user creation (#38)

This commit is contained in:
Mario 2022-10-06 12:45:32 -05:00 committed by GitHub
parent 6900c401de
commit d3f85afa1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 12 deletions

View file

@ -48,7 +48,7 @@ module.exports = ({ db, config }) => {
router.use('/api', require('./api')({ db }))
router.use('/setup', require('./setup')(db))
router.use('/setup', require('./setup')({ db, ensurePfp }))
router.use('/login', require('./login')({ ensurePfp }))
router.use('/logout', require('./logout')())