Commit df9603dd230f3f875c170ac92576207834904bfc
1 parent
3a11cd1b
updated auth test
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@845 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
tests/authentication/authentication.php
| @@ -45,6 +45,6 @@ if (checkSession()) { | @@ -45,6 +45,6 @@ if (checkSession()) { | ||
| 45 | // user credentials to authenticate | 45 | // user credentials to authenticate |
| 46 | $sUserName = "michael"; | 46 | $sUserName = "michael"; |
| 47 | $sPassword = "pass123"; | 47 | $sPassword = "pass123"; |
| 48 | - echo "<ul><li>Authenticating ($sUserName, $sPassword) : " . $oLdapAuth->checkPass($sUserName, $sPassword) . "</li></ul>"; | 48 | + echo "<ul><li>Authenticating ($sUserName, $sPassword) : " . ($oLdapAuth->checkPassword($sUserName, $sPassword) ? "true" : "false") . "</li></ul>"; |
| 49 | } | 49 | } |
| 50 | ?> | 50 | ?> |