https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23816
--- Comment #44 from AgustÃn Moyano <[email protected]> --- (In reply to Jonathan Druart from comment #42) > (In reply to Jonathan Druart from comment #41) > > 2. I am not sure we should modify misc/admin/set_password.pl > > It's an sysop script, and sysops (are supposed to) know what they are doing. > > It's a behaviour change that is not advertised. > > (for discussion) > > Sorry, I misread. That is for password generation, if none provided. > > Where is this '6' coming from? :) That 6 comes from here $generator->randregex('[A-Za-z][A-Za-z0-9_]{6}.[A-Za-z][A-Za-z0-9_]{6}\d'); ^ The last 6 in the regex means the length it will generate, and in my script I replaced that part with: '[A-Za-z][A-Za-z0-9_]{6}.[A-Za-z][A-Za-z0-9_]{'.$n.'}\d' where $n was the minimum password length for the user's category -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
