mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2025-12-14 08:06:23 +08:00
Fix a bug(Follow last commit)
Ctrl c and Ctrl v, A bug appears!
This commit is contained in:
@@ -107,8 +107,8 @@ def login():
|
||||
def register():
|
||||
name = request.form['name']
|
||||
password = request.form['password']
|
||||
if 'DeviceId' in headers:
|
||||
device_id = headers['DeviceId']
|
||||
if 'device_id' in request.form:
|
||||
device_id = request.form['device_id']
|
||||
else:
|
||||
device_id = 'low_version'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user