hash passwords with SSHA for self service

This commit is contained in:
Roland Gruber 2006-11-11 10:17:46 +00:00
parent b955a3d04d
commit 0ac77132a2
1 changed files with 1 additions and 1 deletions

View File

@ -1541,7 +1541,7 @@ class posixAccount extends baseModule {
$return['messages'][] = $this->messages['userPassword'][1];
}
else {
$return['mod']['userPassword'][0] = $_POST['posixAccount_password'];
$return['mod']['userPassword'][0] = pwd_hash($_POST['posixAccount_password'], true, 'SSHA');
$_SESSION['selfService_clientPasswordNew'] = $_POST['posixAccount_password'];
}
}