[Koha-bugs] [Bug 12617] Koha should let admins to configure automatically generated password complexity/difficulty

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 29 13:14:28 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12617

--- Comment #15 from Emmi Takkinen <emmi.takkinen at outlook.com> ---
(In reply to Fridolin SOMERS from comment #14)
> Hi, nice work.
> 
> Just a question :
> I see in first patch : $password =~ /[a-zA-ZöäåÖÄÅ]/
> I don't see the caracters öäå in patch on password_check.inc.
> 
> Should we use POSIX =character class like [:alnum:] ?
> https://www.regular-expressions.info/posixbrackets.html

With Perl we could yes. However Javascript doesn't seem to support POSIX.
[a-zäöå] and [A-ZÄÖÅ] seem to work. 

I guess we could also use POSIX in first patch and Unicode on
password_check.inc e.g \u00DF-\u00FF and allow characters like éëêẽ etc.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list