From dd80433cb0f5024b04a26a347eb95be006786aa2 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Mon, 2 Dec 2024 13:08:18 +0100 Subject: [PATCH] [raffle] Fix: Raffle channel did not allow underscore in channel name Signed-off-by: Knut Ahlers --- src/raffle.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raffle.vue b/src/raffle.vue index f07104e..fb0b3fe 100644 --- a/src/raffle.vue +++ b/src/raffle.vue @@ -1127,7 +1127,7 @@ export default { }, validateRaffleChannel() { - if (!/^[a-zA-Z0-9]{4,25}$/.test(this.models.raffle.channel)) { + if (!constants.REGEXP_USER.test(this.models.raffle.channel)) { return false } return null