sql - Alter User Password Not Checking Old Password -


I need to make a way to change user's password I have a form that executes the following: / P>

  CurrentProject.Connection.Execute "ALTER User Tim Password WordPress NewPass OldPass"  

If the user has a valid account name and old password is correct, then password new password Will be updated with

If the user is not a valid account, I get the following error:

Enter the image details here

However, if the user is a valid account and the old password is not then the code does not change the password and it does not generate an error. Why is there no error in saying that old password is wrong?

How can I verify that the old password entered by the user is correct?


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -