pass reset function

This commit is contained in:
lutranf
2014-09-08 11:28:27 +02:00
parent 89d3443ebb
commit f6f5910fd3
2 changed files with 20 additions and 10 deletions

View File

@@ -189,6 +189,9 @@ if($bUserOk && $sAction!=Databap::EXT_ACCESS)
$asInfo = explode('-', strtolower($oUser));
$sResult = 'User added. Id='.$oDatabap->addUser($asInfo[0], $asInfo[1], $asInfo[2], array_key_exists(3, $asInfo)?$asInfo[3]:'');
break;
case 'reset_pass':
$sResult = $oDatabap->resetPass($oUser);
break;
case 'build_index':
$oDatabap->buildCompleteIndex();
$sResult = 'Index ok';