Clarify prompt text when providing superusers. (#1044)

Co-authored-by: Anton Hvornum <anton@hvornum.se>
This commit is contained in:
Patrick Schneeweis 2022-03-28 05:00:34 -07:00 committed by GitHub
parent f2ad219d8e
commit c614b3ed55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ def manage_users(prompt: str, sudo: bool) -> tuple[dict, dict]:
def ask_for_superuser_account(prompt: str) -> Dict[str, Dict[str, str]]:
prompt = prompt if prompt else str(_('Define users with sudo privilege: '))
prompt = prompt if prompt else str(_('Define users with sudo privilege, by username: '))
superusers, dummy = manage_users(prompt, sudo=True)
return superusers