bryce-harrington / T-Notes

Note-keeping database application
0 stars 0 forks source link

Create weakChangePass() #29

Closed ChandlorRatcliffe closed 5 years ago

ChandlorRatcliffe commented 5 years ago

A function was requested of the SQLInterface which will change a user's password knowing only their username. It should take in a username and a desired password, and return either the user_id of the affected account, or a negative number indicating a fail state.

int weakChangePassword(string un, string pw)

ChandlorRatcliffe commented 5 years ago

Completed in https://github.com/Draemondor/T-Notes/commit/7bf1acab259bcba76193b0f49d92ac721da3a3e2