The setup wizard accepted any string as a Telegram bot token without validation. Invalid tokens were only caught at runtime when the gateway failed to connect, with no clear error message. Add regex validation for the expected format (<numeric_id>:<hash>) and loop until a valid token is entered or the user cancels.
124 KiB
124 KiB