|
@@ -103,8 +103,6 @@ class deviceStatus(TemplateView):
|
|
|
|
|
|
commonService = CommonService()
|
|
|
password = commonService.decode_pwd(encrypt_pwd)
|
|
|
- logger.info(encrypt_pwd)
|
|
|
- logger.info(password)
|
|
|
|
|
|
alexAuth = AlexaAuthModel.objects.filter(userID=userID)
|
|
|
if not alexAuth.exists():
|
|
@@ -140,7 +138,7 @@ class deviceStatus(TemplateView):
|
|
|
region=region)
|
|
|
else:
|
|
|
# if uid_rtsp_qs.password != uid_a['password']:
|
|
|
- uid_rtsp_qs.password = 'admin'
|
|
|
+ uid_rtsp_qs.password = password
|
|
|
uid_rtsp_qs.nick = uid_nick
|
|
|
uid_rtsp_qs.region = 'EN'
|
|
|
uid_rtsp_qs.save()
|