diff options
author | Pablo Saratxaga <pablo@mandriva.com> | 2003-08-17 16:36:58 +0000 |
---|---|---|
committer | Pablo Saratxaga <pablo@mandriva.com> | 2003-08-17 16:36:58 +0000 |
commit | 7cb9db2917e3c155d5280c109dddb22a3d85912e (patch) | |
tree | 5eb1117d7a21b8d77b21687deb9e28cba6c4985c /userdrake | |
parent | 49d663ba677c00d8631fb498356f8858b7268e87 (diff) | |
download | userdrake-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-x | userdrake | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |