projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b7e2cab
)
better error message for illegal password
author
ivan
<ivan>
Fri, 28 Jun 2002 20:31:30 +0000
(20:31 +0000)
committer
ivan
<ivan>
Fri, 28 Jun 2002 20:31:30 +0000
(20:31 +0000)
FS/FS/svc_acct.pm
patch
|
blob
|
history
bin/populate-msgcat
patch
|
blob
|
history
diff --git
a/FS/FS/svc_acct.pm
b/FS/FS/svc_acct.pm
index
e2ac186
..
2bbbdcb
100644
(file)
--- a/
FS/FS/svc_acct.pm
+++ b/
FS/FS/svc_acct.pm
@@
-787,7
+787,7
@@
sub check {
$recref->{_password} = '!!';
} else {
#return "Illegal password";
$recref->{_password} = '!!';
} else {
#return "Illegal password";
- return gettext('illegal_password'). "
$passwordmin-$passwordmax
".
+ return gettext('illegal_password'). "
$passwordmin-$passwordmax
".
FS::Msgcat::_gettext('illegal_password_characters').
": ". $recref->{_password};
}
FS::Msgcat::_gettext('illegal_password_characters').
": ". $recref->{_password};
}
diff --git
a/bin/populate-msgcat
b/bin/populate-msgcat
index
166f837
..
f8e23cf
100755
(executable)
--- a/
bin/populate-msgcat
+++ b/
bin/populate-msgcat
@@
-79,7
+79,7
@@
sub messages {
'en_US' => 'Illegal password (',
},
'en_US' => 'Illegal password (',
},
- 'illeg
g
al_password_characters' => {
+ 'illegal_password_characters' => {
'en_US' => ' characters)',
},
'en_US' => ' characters)',
},