From ad28fccc210739d4f123c5f75b2c6bfd948a402e Mon Sep 17 00:00:00 2001 From: kingmo888 <17401091+kingmo888@users.noreply.github.com> Date: Thu, 7 Dec 2023 17:31:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9web=5Fclient=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/views_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/views_api.py b/api/views_api.py index 7b57be8..5dc381e 100644 --- a/api/views_api.py +++ b/api/views_api.py @@ -35,7 +35,7 @@ def login(request): password = data.get('password', '') rid = data.get('id', '') uuid = data.get('uuid', '') - autoLogin = data.get('autoLogin', '') + autoLogin = data.get('autoLogin', True) rtype = data.get('type', '') deviceInfo = data.get('deviceInfo', '') user = auth.authenticate(username=username,password=password)