account_id

This commit is contained in:
CHIEFSOFT\ameye
2025-01-08 10:48:50 -05:00
parent 1c1784982a
commit a4652ec812
+2 -1
View File
@@ -391,7 +391,8 @@ def complete_register():
user_search = cursor.fetchall()
print(user_search)
print(user_search[0][0])
if user_search[0]:
account_id = user_search[0][0]
if account_id > 0 :
return jsonify({'status': "DUPLICATE",'message': 'Error - use another username'}), 200
user_uid = pending_data['user']['uid']