Skip to content

Commit

Permalink
Issue robert7#171: default to using user own auth token for public li…
Browse files Browse the repository at this point in the history
…nked notebooks
  • Loading branch information
d1vanov authored and charlescanato committed Oct 24, 2023
1 parent b1a8f8e commit 970707b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/communication/communicationmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -644,8 +644,8 @@ bool CommunicationManager::authenticateToLinkedNotebookShard(LinkedNotebook &boo
delete linkedNoteStore;

// Connect to the proper shard
linkedNoteStore = new NoteStore(book.noteStoreUrl, authToken);
linkedAuthToken = "<Public Notebook>";
linkedNoteStore = newNoteStore(book.noteStoreUrl, newRequestContext(authToken, requestTimeout));
linkedAuthToken = authToken;
noteStore = linkedNoteStore;

// Now, authenticate to the book. Books
Expand Down

0 comments on commit 970707b

Please sign in to comment.