From ca2c6a81f95cb714c88beb0f4a1e531b444f191a Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 22 May 2026 15:52:50 +0200 Subject: [PATCH] fix(sso): allow sso token with underscore --- lib/storage/basic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/storage/basic.js b/lib/storage/basic.js index 667c6498b..d7bfe3ee6 100644 --- a/lib/storage/basic.js +++ b/lib/storage/basic.js @@ -91,5 +91,5 @@ Basic.restore = function (Env, archivePath, path, cb) { }; Basic.isValidId = id => { - return id && typeof(id) === "string" && /^[a-zA-Z0-9-+=]+$/.test(id); + return id && typeof(id) === "string" && /^[a-zA-Z0-9-+_=]+$/.test(id); };