Automatically trim arl for spaces and newlines

This commit is contained in:
RemixDev 2020-05-31 10:59:57 +02:00
parent 6d706123f6
commit 964ae1aa9e
2 changed files with 2 additions and 1 deletions

View file

@ -108,6 +108,7 @@ def login(arl, force=False, child=0):
global firstConnection
if child == None:
child = 0
arl = arl.trim()
emit('toast', {'msg': "Logging in...", 'icon': 'loading', 'dismiss': False, 'id': "login-toast"})
if not session['dz'].logged_in:
result = session['dz'].login_via_arl(arl, int(child))

2
webui

@ -1 +1 @@
Subproject commit 6bc4997ff318b234175443724bc15a8b4105ca5e
Subproject commit b99d15808566cd2a32c66aa92bd6bc86544d9d2e