Explorar el Código

退出登录记录日志

locky hace 1 año
padre
commit
ac6f5d265a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Controller/UserController.py

+ 1 - 1
Controller/UserController.py

@@ -335,7 +335,7 @@ class LogoutView(TemplateView):
                     'status': 200,
                     'time': now_time,
                     'content': json.dumps(content),
-                    'url': 'equipment/delete',
+                    'url': 'account/logout',
                     'operation': '{}退出登录,m_code:{}'.format(username, m_code),
                 }
                 LogModel.objects.create(**log)