Dumplicate username filter

This commit is contained in:
CHIEFSOFT\ameye
2025-01-08 10:38:58 -05:00
parent 2bdb5f3580
commit 22fb7630fc
+2
View File
@@ -390,6 +390,8 @@ def complete_register():
cursor.execute(FIND_USERNAME)
user_search = cursor.fetchall()
print(user_search)
if user_search[0]:
return jsonify({'status': "DUPLICATE",'message': 'Error - use another username'}), 200
user_uid = pending_data['user']['uid']
#'a4b75649-e3c5-424f-bcdb-5481e625d24b'