mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
fix(sso): allow sso token with underscore
This commit is contained in:
parent
00d830b7f0
commit
ca2c6a81f9
@ -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);
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user