Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Commit 0bdf691

Browse files
committed
Fix initial user setup
1 parent 774ea85 commit 0bdf691

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/background-process/browser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export async function setup () {
9696
})
9797
let archive = beakerCore.dat.library.getArchive(newUserUrl)
9898
await archive.pda.writeFile('/thumb.jpg', await jetpack.cwd(__dirname).cwd('assets/img').readAsync('default-user-thumb.jpg', 'buffer'), 'binary')
99-
await beakerCore.users.add(newUserUrl)
99+
await beakerCore.users.add('anonymous', newUserUrl, true)
100100
}
101101

102102
// wire up events

0 commit comments

Comments
 (0)