Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix comment
zadamc2308b7a5d93
diff --git a/src/services/etapi_tokens.js b/src/services/etapi_tokens.jsindex 61c6fc8e8e..f3a60052e4 100644--- a/src/services/etapi_tokens.js+++ b/src/services/etapi_tokens.js@@ -32,7 +32,7 @@ function parseAuthToken(auth) {if (auth.startsWith("Basic ")) {// allow also basic auth format for systems which allow this type of authentication- // expect ETAPI token in the password field, ignore username+ // expect ETAPI token in the password field, require "etapi" username// https://github.com/zadam/trilium/issues/3181const basicAuthStr = utils.fromBase64(auth.substring(6)).toString("UTF-8");const basicAuthChunks = basicAuthStr.split(":");