Skip to content

Fix user creation error and more, see description... - #12

Merged
b- merged 2 commits into
b-:mainfrom
joshuacant:tidyfix
Aug 10, 2025
Merged

Fix user creation error and more, see description...#12
b- merged 2 commits into
b-:mainfrom
joshuacant:tidyfix

Conversation

@joshuacant

Copy link
Copy Markdown

Hi, feel free to reject this if you're not interested.

Does the following:

  • Fix user creation error
  • Only creates db if needed, otherwise reuse existing
    • (a new filename is used to ensure a fresh db is created with a valid user)
  • Prevent command output from writing to crash.log
  • Reformat lua code to more closely match KOReader style

…only create db if needed, prevent command output from writing to crash.log
@kevinfowler

Copy link
Copy Markdown

I ran into the same issue with the password being less than 12 characters long for the "create user" command. This is on a Kobo Libra Colour. I fixed it by just setting the password from "koreader" to "koreader1234" in the main.lua and it worked. I was getting a "500 server error" when trying to login before that. Your PR would have fixed this.

@b-
b- merged commit e3ef3d6 into b-:main Aug 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants