mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 21:36:05 +01:00
etapi improvements and more tests
This commit is contained in:
@@ -12,7 +12,7 @@ function getTokenHash(token) {
|
||||
}
|
||||
|
||||
function createToken(tokenName) {
|
||||
const token = utils.randomSecureToken();
|
||||
const token = utils.randomSecureToken(32);
|
||||
const tokenHash = getTokenHash(token);
|
||||
|
||||
const etapiToken = new EtapiToken({
|
||||
|
||||
Reference in New Issue
Block a user