登録時のステータスコードを修正
This commit is contained in:
parent
08a1178209
commit
a0056ef2c4
1 changed files with 2 additions and 2 deletions
|
@ -371,9 +371,9 @@ def register():
|
|||
return jsonify({'message': 'ok', 'pc_token': pc_token, 'master_password': master_password, 'master_password_hash': master_password_hash}), 200
|
||||
elif register_result["result"] == 1:
|
||||
if register_result["about"] == "exist":
|
||||
return jsonify({'message': 'exist'}), 401
|
||||
return jsonify({'message': 'exist'}), 400
|
||||
else:
|
||||
return jsonify({'message': 'damedesu'}), 401
|
||||
return jsonify({'message': 'damedesu'}), 500
|
||||
|
||||
else:
|
||||
return jsonify({'message': 'damedesu'}), 401
|
||||
|
|
Loading…
Reference in a new issue