Merge pull request 'fix(site): setup-password token length 64 -> 96' (#14) from fix/setup-token-length-96 into main
Some checks failed
Deploy site to GitHub Pages / deploy (push) Has been cancelled

This commit is contained in:
serge 2026-05-11 00:14:37 +03:00
commit 24104ac9f4

View File

@ -200,7 +200,7 @@
}
async function init() {
if (!token || token.length !== 64 || !/^[a-f0-9]+$/i.test(token)) {
if (!token || token.length !== 96 || !/^[a-f0-9]+$/i.test(token)) {
showError("Lien invalide ou incomplet.");
return;
}