mirror of
https://gitlab.com/RemixDev/deemix-gui-pyweb.git
synced 2025-01-16 03:25:15 +00:00
Automatically trim arl for spaces and newlines
This commit is contained in:
parent
6d706123f6
commit
964ae1aa9e
|
@ -108,6 +108,7 @@ def login(arl, force=False, child=0):
|
||||||
global firstConnection
|
global firstConnection
|
||||||
if child == None:
|
if child == None:
|
||||||
child = 0
|
child = 0
|
||||||
|
arl = arl.trim()
|
||||||
emit('toast', {'msg': "Logging in...", 'icon': 'loading', 'dismiss': False, 'id': "login-toast"})
|
emit('toast', {'msg': "Logging in...", 'icon': 'loading', 'dismiss': False, 'id': "login-toast"})
|
||||||
if not session['dz'].logged_in:
|
if not session['dz'].logged_in:
|
||||||
result = session['dz'].login_via_arl(arl, int(child))
|
result = session['dz'].login_via_arl(arl, int(child))
|
||||||
|
|
2
webui
2
webui
|
@ -1 +1 @@
|
||||||
Subproject commit 6bc4997ff318b234175443724bc15a8b4105ca5e
|
Subproject commit b99d15808566cd2a32c66aa92bd6bc86544d9d2e
|
Loading…
Reference in a new issue