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.
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)