fix(site): setup-password token length 64 -> 96 #14
@ -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