git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_SGD/tags/3.7.0.2_original@1 eb19766c-00d9-a042-a3a0-45cb8ec72764
16 lines
363 B
PHP
16 lines
363 B
PHP
<?php
|
|
|
|
require_once("../../config/dmsDefaults.php");
|
|
require_once(KT_LIB_DIR . '/authentication/authenticationutil.inc.php');
|
|
|
|
$oUser =& User::getByUserName('nbm2');
|
|
if (0) {
|
|
$foo = KTAuthenticationUtil::checkPassword($oUser, 'asdf');
|
|
var_dump($foo);
|
|
} else {
|
|
$foo = KTAuthenticationUtil::checkPassword($oUser, 'asdjasdjk');
|
|
var_dump($foo);
|
|
}
|
|
|
|
?>
|