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
Some checks failed
Deploy site to GitHub Pages / deploy (push) Has been cancelled
This commit is contained in:
commit
24104ac9f4
@ -200,7 +200,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function init() {
|
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.");
|
showError("Lien invalide ou incomplet.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user