Skip to content

Commit 5414653

Browse files
committed
fix: remove confusing characters
1 parent f325d72 commit 5414653

File tree

1 file changed

+1
-1
lines changed
  • src/service/limit-service/verification/generator

1 file changed

+1
-1
lines changed

src/service/limit-service/verification/generator/ugly.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { range } from "@util/array"
99
import { randomIntBetween } from "@util/number"
1010
import type { VerificationContext, VerificationGenerator, VerificationPair } from "../common"
1111

12-
const BASE = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\`-=[]/.,:\"<>?!@#$%^&*()_+;'"
12+
const BASE = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\`-=[]/.,:\"<>?!@#$%^&*()_+;'".replaceAll(/[01IlLOo]/g, "")
1313
const BASE_LEN = BASE.length
1414

1515
class UglyGenerator implements VerificationGenerator {

0 commit comments

Comments
 (0)