diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7a41c1a --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +tokens.db +**/__pycache__/** diff --git a/config.json b/config.json index 2acc66b..30fa71c 100644 --- a/config.json +++ b/config.json @@ -1,10 +1,10 @@ { - "USERNAME" : "acore", + "USERNAME" : "root", "PASSWORD" : "acore", - "SERVER_IP" : "127.0.0.1", + "SERVER_IP" : "192.168.210.224", "MYSQL_PORT" : 3306, "DATABASE" : "acore_auth", - "SMTP_EMAIL_ADDRESS" : "email_address", - "SMTP_EMAIL_PASSWORD" : "email_app_password" + "SMTP_EMAIL_ADDRESS" : "davidnmitchell@gmail.com", + "SMTP_EMAIL_PASSWORD" : "kzwu wdwt gacr gsep" -} \ No newline at end of file +} diff --git a/restart_website.sh b/restart_website.sh old mode 100644 new mode 100755 diff --git a/scripts/createAccount.py b/scripts/createAccount.py index e3ac817..766edff 100644 --- a/scripts/createAccount.py +++ b/scripts/createAccount.py @@ -26,7 +26,7 @@ def calculate_verifier(username, password, salt): verifier = verifier_int.to_bytes((verifier_int.bit_length() + 7) // 8, 'little') return verifier -def create_account(account_name, email, passwd1, passwd2, expansion): +def create_account(account_name, email, passwd1, passwd2): if passwd1 != passwd2: return "Passwords do not match." diff --git a/start_website.sh b/start_website.sh old mode 100644 new mode 100755 index 4dad0b5..9a2b9c8 --- a/start_website.sh +++ b/start_website.sh @@ -1,7 +1,7 @@ #!/bin/bash # Navigate to the project directory -cd /home/wotlk_webserver/AzerothCore-website +cd /root/AzerothCore-website # Activate the virtual environment source venv/bin/activate diff --git a/templates/accountcreation.html b/templates/accountcreation.html index 47005b2..2e605d4 100644 --- a/templates/accountcreation.html +++ b/templates/accountcreation.html @@ -20,14 +20,6 @@ -