mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-03-12 17:26:41 -04:00
log line
This commit is contained in:
parent
bb9408cbbe
commit
3c5e42896f
@ -581,7 +581,8 @@ class ProxyDaemon:
|
|||||||
|
|
||||||
if password == "":
|
if password == "":
|
||||||
if device_id is None:
|
if device_id is None:
|
||||||
raise ValueError("Empty password provided, but device_id was also None")
|
logger.warn(f"Empty password provided and device_id was also None")
|
||||||
|
return
|
||||||
# If password is blank, we cannot login normally and must
|
# If password is blank, we cannot login normally and must
|
||||||
# fall back to using the provided device_id.
|
# fall back to using the provided device_id.
|
||||||
pan_client.restore_login(user_id, device_id, access_token)
|
pan_client.restore_login(user_id, device_id, access_token)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user