Remove unused argument

main
Bob Mottram 2024-02-26 11:39:23 +00:00
parent 8a3de8e736
commit ea30834f72
2 changed files with 1 additions and 2 deletions

View File

@ -2350,7 +2350,6 @@ class PubServer(BaseHTTPRequestHandler):
login_nickname, login_password, register = \
html_get_login_credentials(login_params,
self.server.last_login_time,
domain,
registrations_open)
if login_nickname and login_password:
if is_system_account(login_nickname):

View File

@ -24,7 +24,7 @@ from theme import get_text_mode_logo
def html_get_login_credentials(login_params: str,
last_login_time: int, domain: str,
last_login_time: int,
registrations_open: bool) -> (str, str, bool):
"""Receives login credentials via HTTPServer POST
"""