DarkflameUniverse / NexusDashboard

Dashboard for Complete Management of a DLU game server
GNU Affero General Public License v3.0
47 stars 7 forks source link

fix: don't break on empty play key #87

Closed Xiphoseer closed 10 months ago

Xiphoseer commented 10 months ago

remove the Optional() validator, which makes empty strings pass validation and fail later because the empty string is no valid key. Instead just rely on the fact that validate_play_key will never fail if REQUIRE_PLAY_KEY is not set.