Bug 38937

Summary: Password must contain at least characters
Product: Koha Reporter: Judith <judithjoni>
Component: Installation and upgrade (web-based installer)Assignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: critical    
Priority: P5 - low CC: gmcharlt, jonathan.druart, me
Version: 24.11   
Hardware: PC   
OS: Linux   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: i tried more then 50 time same error is showing

Description Judith 2025-01-21 13:08:41 UTC
Created attachment 176859 [details]
i tried more then 50 time same error is showing

faceign this issue Password must contain at least characters. unable to finish onboarding

Web installer › Create Koha administrator patron

tried several password not working
Comment 1 Katrin Fischer 2025-01-21 14:02:17 UTC
It looks like the variable for the number of characters is missing.
Which language are you installing in?
Comment 2 Judith 2025-01-21 17:10:12 UTC
(In reply to Katrin Fischer from comment #1)
> It looks like the variable for the number of characters is missing.
> Which language are you installing in?

no i gave more then 8 characters
english
Comment 3 Katrin Fischer 2025-01-21 21:30:03 UTC
Hi Judith, I didn't doubt that :) What I meant is that something is missing here: 

Password must contain at least _ characters
Comment 4 Judith 2025-01-22 08:36:49 UTC
i tried this kArer_Mop,kArer_Mop123, kArer@Mop123, etc no use
Comment 5 Katrin Fischer 2025-01-22 10:27:39 UTC
Yes, it sounds like the check itself is broken. I am sorry for not explaining this better.
Comment 6 Jonathan Druart 2025-01-22 11:04:03 UTC
Works for me on main and v24.11.01-2

Which exact version are you using? How did you install Koha? Do you see an error in the browser's console? Do you see errors in the Koha logs?

What is in the DB for the 2 following system preferences?

select variable, value from systempreferences where variable="RequireStrongPassword" OR variable="minPasswordLength";