diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2006-03-28 18:42:03 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2006-03-28 18:42:03 +0000 |
commit | 8f2ddd56d353a8106382e29b70fd799f805b0fa2 (patch) | |
tree | 1901453bf6a6eeb5dd709e5d1fa009185315f7d8 | |
parent | 249eec59a7da0fbef06a09da571fafcdc22a3cb7 (diff) | |
download | mgaonline-8f2ddd56d353a8106382e29b70fd799f805b0fa2.tar mgaonline-8f2ddd56d353a8106382e29b70fd799f805b0fa2.tar.gz mgaonline-8f2ddd56d353a8106382e29b70fd799f805b0fa2.tar.bz2 mgaonline-8f2ddd56d353a8106382e29b70fd799f805b0fa2.tar.xz mgaonline-8f2ddd56d353a8106382e29b70fd799f805b0fa2.zip |
actually display the error if account creation failed
-rwxr-xr-x | mdkonline | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -176,8 +176,9 @@ my $wiz = $in->ask_warn(N("Error"), N("Not a valid mail address!\n") . "\n\n" . $email); return 1; } - if (mdkonline::create_authenticate_account('create', @info) ne 'OK') { - $in->ask_warn(N("Error"), N("Creating account failed!")); + my $err = mdkonline::create_authenticate_account('create', @info); + if ($err ne 'OK') { + $in->ask_warn(N("Error"), N("Creating account failed!") . "\n\n" . $err); return 1; } |