mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
set password from web trilium
This commit is contained in:
@@ -38,7 +38,7 @@ function exec(opts) {
|
||||
};
|
||||
|
||||
if (opts.auth) {
|
||||
headers['trilium-cred'] = Buffer.from(opts.auth.username + ":" + opts.auth.password).toString('base64');
|
||||
headers['trilium-cred'] = Buffer.from("dummy:" + opts.auth.password).toString('base64');
|
||||
}
|
||||
|
||||
const request = client.request({
|
||||
|
||||
Reference in New Issue
Block a user