We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f325d72 commit 5414653Copy full SHA for 5414653
src/service/limit-service/verification/generator/ugly.ts
@@ -9,7 +9,7 @@ import { range } from "@util/array"
9
import { randomIntBetween } from "@util/number"
10
import type { VerificationContext, VerificationGenerator, VerificationPair } from "../common"
11
12
-const BASE = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\`-=[]/.,:\"<>?!@#$%^&*()_+;'"
+const BASE = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\`-=[]/.,:\"<>?!@#$%^&*()_+;'".replaceAll(/[01IlLOo]/g, "")
13
const BASE_LEN = BASE.length
14
15
class UglyGenerator implements VerificationGenerator {
0 commit comments