Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archinstall/lib/user_interaction.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py
index 8cdbbe8c..e5cdb670 100644
--- a/archinstall/lib/user_interaction.py
+++ b/archinstall/lib/user_interaction.py
@@ -49,7 +49,7 @@ def print_large_list(options, padding=5, margin_bottom=0, separator=': '):
def ask_for_superuser_account(prompt='Create a required super-user with sudo privileges: ', forced=False):
while 1:
- new_user = input(prompt).strip(' ')
+ new_user = input(prompt).strip(' ').lower()
if not new_user and forced:
# TODO: make this text more generic?
@@ -67,7 +67,7 @@ def ask_for_additional_users(prompt='Any additional users to install (leave blan
super_users = {}
while 1:
- new_user = input(prompt).strip(' ')
+ new_user = input(prompt).strip(' ').lower()
if not new_user:
break
password = get_password(prompt=f'Password for user {new_user}: ')