Commit f146a11f8d3d037071c59b941a2ff6b5b11dad95
1 parent
7b72890f
KTS-2006
"Error message when user exists is uninformative" Added PEAR error message to output. Committed By: Kevin Reviewed By: Jalaloedien git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/trunk@6749 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
plugins/ktstandard/ldap/ldapbaseauthenticationprovider.inc.php
| ... | ... | @@ -288,7 +288,7 @@ class KTLDAPBaseAuthenticationProvider extends KTAuthenticationProvider { |
| 288 | 288 | )); |
| 289 | 289 | |
| 290 | 290 | if (PEAR::isError($oUser) || ($oUser == false)) { |
| 291 | - $this->errorRedirectToMain(_kt("failed to create user.")); | |
| 291 | + $this->errorRedirectToMain(_kt("failed to create user") . ": " . $oUser->message); | |
| 292 | 292 | exit(0); |
| 293 | 293 | } |
| 294 | 294 | ... | ... |