fix(share): double request of credentials

This commit is contained in:
Elian Doran
2025-02-26 20:33:18 +02:00
parent 7ea3cb71f3
commit 6f9fd76465
2 changed files with 17 additions and 4 deletions

View File

@@ -87,7 +87,6 @@ function checkNoteAccess(noteId: string, req: Request, res: Response) {
const header = req.header("Authorization");
if (!header?.startsWith("Basic ")) {
requestCredentials(res);
return false;
}