summaryrefslogtreecommitdiffstats
path: root/ldap_wizard/Ldap.pm
diff options
context:
space:
mode:
Diffstat (limited to 'ldap_wizard/Ldap.pm')
-rw-r--r--ldap_wizard/Ldap.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/ldap_wizard/Ldap.pm b/ldap_wizard/Ldap.pm
index 6c7ad7fc..318ff3f6 100644
--- a/ldap_wizard/Ldap.pm
+++ b/ldap_wizard/Ldap.pm
@@ -209,7 +209,9 @@ $o->{pages} = {
},
endadd => {
name => N("Successfully added User"),
- data => [ { label => N("The wizard successfully added a user in LDAP") } ],
+ data => [ { label => N(""),fixed_val => \$o->{var}{error_user_add} }
+
+ ],
no_back => 1,
end => 1,
next => 0,
@@ -339,7 +341,7 @@ RootLdif
sub do_it_user_add {
return if $::testing;
- add_user($o);
+ $o->{var}{error_user_add}= add_user($o);
}
sub sav_conf {