Okay, yeah I had added that soon after and got it working. Thank you.
Is it safe to compare locally, the results from the database against what the user entered? For example:
// username: The local username that the user entered
// remoteUsername: The username retrieved from the database
// Is it safe to compare these locally on the client's computer?
if(username != remoteUsername || password != remotePassword)
{
// Login failed
invalidCredentialsMsg.exec();
}
// username: The local username that the user entered
// remoteUsername: The username retrieved from the database
// Is it safe to compare these locally on the client's computer?
if(username != remoteUsername || password != remotePassword)
{
// Login failed
invalidCredentialsMsg.exec();
}
To copy to clipboard, switch view to plain text mode
Bookmarks