projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b352f3
)
Debugcode
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 18 Jan 2011 16:28:47 +0000
(17:28 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 19 Jan 2011 10:16:45 +0000
(11:16 +0100)
SL/Auth/PasswordPolicy.pm
patch
|
blob
|
history
diff --git
a/SL/Auth/PasswordPolicy.pm
b/SL/Auth/PasswordPolicy.pm
index
e5806a7
..
3cf5c14
100644
(file)
--- a/
SL/Auth/PasswordPolicy.pm
+++ b/
SL/Auth/PasswordPolicy.pm
@@
-81,7
+81,6
@@
sub init_config {
$cfg{invalid_characters_re} = '[' . quotemeta($cfg{invalid_characters}) . ']' if $cfg{invalid_characters};
$cfg{special_characters} = '!@#$%^&*()_+=[]{}<>\'"|\\,;.:?-';
$cfg{special_characters_re} = '[' . quotemeta($cfg{special_characters}) . ']';
- print $cfg{special_characters_re}, "\n";
map { $cfg{"require_${_}"} = $cfg{"require_${_}"} =~ m/^(?:1|true|t|yes|y)$/i } qw(lowercase uppercase digit special_char);