From d0afb29ae8e607819bfb49c8439614856a3bb3f5 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 22 Feb 2021 15:47:34 +0200 Subject: [PATCH] Change input rule --- database/Seeders/eggs/rust/egg-rust.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/Seeders/eggs/rust/egg-rust.json b/database/Seeders/eggs/rust/egg-rust.json index 0172146ff..8f6f82867 100644 --- a/database/Seeders/eggs/rust/egg-rust.json +++ b/database/Seeders/eggs/rust/egg-rust.json @@ -121,7 +121,7 @@ "default_value": "CHANGEME", "user_viewable": true, "user_editable": true, - "rules": "required|string|max:64" + "rules": "required|regex:\/^[a-zA-Z0-9_.-]*$\/|max:64" }, { "name": "Save Interval", @@ -160,4 +160,4 @@ "rules": "nullable|url" } ] -} \ No newline at end of file +}