Libki / libki-server

Libki Server
Other
55 stars 28 forks source link

Error: Bad username or password #268

Closed ganyana closed 1 year ago

ganyana commented 1 year ago

Describe the bug

I have successfully installed the Libki Kiosk Server and launched the administration page on several occasions, but I am unable to login. The system reports "Bad username or password," despite the fact that I recall the credentials I entered.

To Reproduce Steps to reproduce the behavior:

  1. Go to http://192.168.2.100:3000/administration/login
  2. Login - Error: Bad username or password
  3. Reinstall Libki Server
  4. Repeat

Expected behavior Login to the administration page.

Screenshots If applicable, add screenshots to help explain your problem. Libki Error

Deployment architecture:

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

kylemhall commented 1 year ago

Please verify you are using the correct "instance" for this user. You can find the instance by checking the data-instance value of the head tag in the html source.

Once you have your instance, run script/administration/create_user.pl with the instance, username and password you want, along with -s to give it superadmin rights. If the user exists this will update the user's password.

ganyana commented 1 year ago

The data-instance is blank.

SS1

ganyana commented 1 year ago

Update.

The issue was resolved by creating a new Super Admin account.

Thank you @kylemhall