aboutsummaryrefslogtreecommitdiffstats
path: root/userdrake
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2003-08-17 16:36:58 +0000
committerPablo Saratxaga <pablo@mandriva.com>2003-08-17 16:36:58 +0000
commit7cb9db2917e3c155d5280c109dddb22a3d85912e (patch)
tree5eb1117d7a21b8d77b21687deb9e28cba6c4985c /userdrake
parent49d663ba677c00d8631fb498356f8858b7268e87 (diff)
downloaduserdrake-7cb9db2917e3c155d5280c109dddb22a3d85912e.tar
userdrake-7cb9db2917e3c155d5280c109dddb22a3d85912e.tar.gz
userdrake-7cb9db2917e3c155d5280c109dddb22a3d85912e.tar.bz2
userdrake-7cb9db2917e3c155d5280c109dddb22a3d85912e.tar.xz
userdrake-7cb9db2917e3c155d5280c109dddb22a3d85912e.zip
fixed English typo
Diffstat (limited to 'userdrake')
-rwxr-xr-xuserdrake4
1 files changed, 2 insertions, 2 deletions
diff --git a/userdrake b/userdrake
index f86a45f..7a7a875 100755
--- a/userdrake
+++ b/userdrake
@@ -252,7 +252,7 @@ sub AddUser {
if ($nm) { RaiseError(N("User already exists, please choose another User Name")); $us->{o}->{login}->set_text('') };
$u{passwd} = $us->{o}->{passwd}->get_text();
if ($u{passwd} ne $us->{o}->{confpasswd}->get_text()) { RaiseError(N("Password Mismatch")) };
- if ($sec{SECURE_LEVEL} > 3 && length($u{passwd}) < 6) { RaiseError(N("This password is too simple. \n Good passwords should be > 6 caracters")) };
+ if ($sec{SECURE_LEVEL} > 3 && length($u{passwd}) < 6) { RaiseError(N("This password is too simple. \n Good passwords should be > 6 characters")) };
!$error and my $userEnt = $ctx->InitUser($u{username}, $is_system);
if ($us->{o}->{createhomedir}->get_active) {
$dontcreatehomedir = 0;
@@ -707,7 +707,7 @@ sub Edit {
if ($u{pw} ne $u{confm}) {
RaiseError(N("Password Mismatch"));
} elsif (($u{pw} eq $u{confm}) && $u{pw} ne ' ') {
- if ($sec{SECURE_LEVEL} > 3 && length($u{pw}) < 6) { RaiseError(N("This password is too simple. \n Good passwords should be > 6 caracters")) }
+ if ($sec{SECURE_LEVEL} > 3 && length($u{pw}) < 6) { RaiseError(N("This password is too simple. \n Good passwords should be > 6 characters")) }
!$error and $ctx->UserSetPass($userEnt, $u{pw});
}
if (!$error) {