mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix comment
This commit is contained in:
parent
3e07c08043
commit
c2308b7a5d
@ -32,7 +32,7 @@ function parseAuthToken(auth) {
|
|||||||
|
|
||||||
if (auth.startsWith("Basic ")) {
|
if (auth.startsWith("Basic ")) {
|
||||||
// allow also basic auth format for systems which allow this type of authentication
|
// 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/3181
|
// https://github.com/zadam/trilium/issues/3181
|
||||||
const basicAuthStr = utils.fromBase64(auth.substring(6)).toString("UTF-8");
|
const basicAuthStr = utils.fromBase64(auth.substring(6)).toString("UTF-8");
|
||||||
const basicAuthChunks = basicAuthStr.split(":");
|
const basicAuthChunks = basicAuthStr.split(":");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user