From 90780818cab043003cb4d18d3865323ce07fb92d Mon Sep 17 00:00:00 2001 From: Jim Ramsay Date: Thu, 17 Mar 2022 21:47:34 -0400 Subject: Limit offline username to 16 characters with override Offline usernames longer than 16 characters won't be able to connect to LAN games or offline-mode servers, so just don't let it happen. Add a checkbox to allow people to unrestrict usernames if they want. Signed-off-by: Jim Ramsay --- launcher/ui/dialogs/OfflineLoginDialog.ui | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'launcher/ui/dialogs/OfflineLoginDialog.ui') diff --git a/launcher/ui/dialogs/OfflineLoginDialog.ui b/launcher/ui/dialogs/OfflineLoginDialog.ui index d8964a2e..4633cbe3 100644 --- a/launcher/ui/dialogs/OfflineLoginDialog.ui +++ b/launcher/ui/dialogs/OfflineLoginDialog.ui @@ -35,11 +35,24 @@ + + 16 + Username + + + + Usernames longer than 16 characters cannot be used for LAN games or offline-mode servers. + + + Allow long usernames + + + -- cgit