Skip to content

Conversation

@dparker2
Copy link
Owner

No description provided.

juanmejia10 and others added 30 commits February 13, 2018 15:50
When account is created, password is now hashed and stored in the db. Account login checks for the hash in the db to verify.
Recover username will now send the username of the email to that email. flash cards were updated with = instead of ==
New messages sent to client after searching for email in database and sending email to that address
last version still had an fwrite instead of sendMessage function
left an extra character in $message
All new file with functions to set and retrieve security questions and answers from db
create account having some issues so I reverted it by removing the hard coded security questions to see if my changes were the issue
included error debug for create account insertion to find mistake
hardcoded questions were not being escape stringed. fixed that
forgot to include_once new security questions files and functions
needed to include $connection in escape string query
username was not accessed via getName method. fixed that
questions were not being queried properly. fixed that
added echo debug for security question queries
query was returning object instead of string. used correct function to return strings
was trying to access username via client, but can't access since user is not logged in
changed how security questions are called with username now
changed server code for username recovery email being sent. escape string for sec question answer hashes before writing to db
added new function to send email with recovery code and store that same code in the db. 
testing.php file is just to call it without UI
no longer using escape string after hashing the answers and before writing to the database
added lots of echos to see how variables act and also added mysql error report
i did a bad thing but i undid the thing
did the same fix that was done for questions on previous commit
First commit for reset password functions that should be working. send random security question, check security question answers, send out code and verify
took out some of the 4 character codes that communicate between server and client, also added a few error/success messages
was storing password as plain text with reset password. fixed and made it a hash instead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants