hash passwords with SSHA for self service
This commit is contained in:
parent
b955a3d04d
commit
0ac77132a2
|
@ -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'];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue