added email

This commit is contained in:
CHIEFSOFT\ameye
2025-02-08 23:20:52 -05:00
parent 6139666ef7
commit 8f0d77c9aa
+3 -3
View File
@@ -542,8 +542,8 @@ def complete_register():
password
)
CREATE_USER = 'INSERT INTO members (username,password,account_name,firstname,lastname,country) VALUES(%s,%s,%s,%s,%s,%s)'
create_values = (username, encrypt_password ,'ACCOUNT NAME ', user_array[0]['firstname'],user_array[0]['lastname'],country)
CREATE_USER = 'INSERT INTO members (username,password,account_name,firstname,lastname,country) VALUES(%s,%s,%s,%s,%s,%s,%s)'
create_values = (username, encrypt_password ,'ACCOUNT NAME ', user_array[0]['firstname'],user_array[0]['lastname'],country,user_array[0]['email'])
print(create_values)
with connection:
with connection.cursor(cursor_factory=psycopg2.extras.DictCursor) as cursor:
@@ -1051,4 +1051,4 @@ def myproduct_detail(member_id ,product_id):
"promotion_text": "Start Free Today !",
"price_text" : "90 days free and 3.95/Month",
}
return myproduct_data;
return myproduct_data