Always use nickname only within login screen

merge-requests/30/head
Bob Mottram 2021-04-04 20:44:01 +01:00
parent fd1b678e5e
commit 6a9bcd33e6
1 changed files with 1 additions and 3 deletions

View File

@ -42,8 +42,6 @@ def htmlGetLoginCredentials(loginParams: str,
nickname = nickname[1:]
if '@' in nickname:
# the full nickname@domain has been entered
handleDomain = nickname.split('@')[1].strip()
if handleDomain == domain:
nickname = nickname.split('@')[0]
elif arg.split('=', 1)[0] == 'password':
password = arg.split('=', 1)[1]