Fixed verification

This commit is contained in:
2023-03-03 14:18:34 +01:00
parent 3e83467841
commit 32783561c5

View File

@@ -281,7 +281,7 @@ async function fetchUUIDCheck(givenUUID , strategy){
function checkUUIDChars(uuid) {
console.log("UUID in check: " + uuid);
const regex = new RegExp("/^[A-z0-9-]+$/");
const regex = new RegExp("^[A-z0-9-]+$");
if(regex.test(uuid)){
return uuid ;
}