兼容web_client模式

This commit is contained in:
kingmo888 2023-12-07 17:31:01 +08:00
parent 34183476ef
commit ad28fccc21

View File

@ -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)