Skip to content

Commit e704adc

Browse files
Wire remoteStorage username to singleUserName, not apUsername
The RS plugin username should match the pod username, not the ActivityPub username which may differ or be unset.
1 parent 7548004 commit e704adc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ export function createServer(options = {}) {
237237

238238
// Register remoteStorage plugin (always on — no flag needed)
239239
fastify.register(remoteStoragePlugin, {
240-
username: apUsername || 'me',
241-
ownerWebId: singleUser ? null : undefined // single-user: any authenticated user; multi-user: check WebID
240+
username: singleUserName || 'me',
241+
ownerWebId: null // single-user: any authenticated user can access
242242
});
243243

244244
// Register MongoDB /db/ route if enabled

0 commit comments

Comments
 (0)