1
0
Fork 0
mirror of https://github.com/fastogt/fastocloud_admin.git synced 2025-03-09 23:38:52 +00:00

Sources UP

This commit is contained in:
topilski 2019-09-03 08:54:53 -04:00
parent da02837b93
commit 03bff31ac9
2 changed files with 2 additions and 7 deletions

@ -1 +1 @@
Subproject commit 485e7e717c64601470fb03fadfdcf2e1f6ebdfd2
Subproject commit bb2c317fd80cec24861458a120db09dccfe712dd

View file

@ -187,12 +187,7 @@ class ServiceManager(IClientHandler):
client.activate_fail(cid, 'User invalid password')
return
found_device = None
for device in check_user.devices:
if device.id == device_id:
found_device = device
break
found_device = check_user.find_device(device_id)
if not found_device:
client.activate_fail(cid, 'Device not found')
return