Topic: Login:Wrong username/password

Hey all,

what am I do wrong?

I can save the user with role to database, but if i want to log into software i have allways the same problem.

"Wrong username/password"

Post's attachments

Attachment icon Login.PNG 17.76 kb, 179 downloads since 2020-03-05 

Re: Login:Wrong username/password

Hello


Please attach your project (zip file without exe and dll), I will test it.

Dmitry.

Re: Login:Wrong username/password

Hi,

I' m the beginner in programming and i'm open for all sugestions.

Post's attachments

Attachment icon Test.zip 368.87 kb, 291 downloads since 2020-03-05 

Re: Login:Wrong username/password

Please let me know password for login "an"

Dmitry.

5 (edited by mmarcin_de 2020-03-06 11:05:28)

Re: Login:Wrong username/password

for user "an" is "as" and
for user "as" is "123456789"

6 (edited by thezimguy 2020-03-07 11:07:52)

Re: Login:Wrong username/password

Follow this steps
1. Login with
     Username:admin
     Password:admin
2. Goto "Options" in the menu and click on "Users"
3. Double click the user(eg. an) you are not able to login with to edit
4. Click on change password
5. Provide the password you want to use
6. Close the application and login with the user
It worked for me
I think forgot the password you created for the accounts

@thezimguy

7 (edited by derek 2020-03-07 11:57:40)

Re: Login:Wrong username/password

Hi MMarcin, Zimguy, Dmitry,
I believe the problem is because the standard login screen that Dmitry has provided for users/roles encrypts passwords (correctly so).
But you are using a form that you have written yourself to maintain users and passwords and this holds passwords unencrypted;  this results in a password mis-match.
If you maintain your users as TheZimgGuy has outlined, you shouldn't have any issues.
Derek.

Post's attachments

Attachment icon screenshot.jpg 67.17 kb, 121 downloads since 2020-03-07 

Re: Login:Wrong username/password

Thanks all for your help.
I haven't seen this option (from thezimguy) before.

Now i know a little bit more. smile