fixed password attribute for upload
This commit is contained in:
parent
1316556a7a
commit
6c90cdc350
|
@ -33,6 +33,8 @@ class posixGroup extends baseModule {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new posixGroup object.
|
* Creates a new posixGroup object.
|
||||||
|
*
|
||||||
|
* @param string $scope account type
|
||||||
*/
|
*/
|
||||||
function posixGroup($scope) {
|
function posixGroup($scope) {
|
||||||
// load error messages
|
// load error messages
|
||||||
|
@ -80,7 +82,7 @@ class posixGroup extends baseModule {
|
||||||
}
|
}
|
||||||
if ($rawAccounts[$i][$ids['posixGroup_password']] != "") {
|
if ($rawAccounts[$i][$ids['posixGroup_password']] != "") {
|
||||||
if (eregi(".*", $rawAccounts[$i][$ids['posixGroup_password']])) { // TODO use real regex for group name
|
if (eregi(".*", $rawAccounts[$i][$ids['posixGroup_password']])) { // TODO use real regex for group name
|
||||||
$partialAccounts[$i]['password'] = pwd_hash($rawAccounts[$i][$ids['posixGroup_password']], true, $this->moduleSettings['posixAccount_pwdHash'][0]);
|
$partialAccounts[$i]['userPassword'] = pwd_hash($rawAccounts[$i][$ids['posixGroup_password']], true, $this->moduleSettings['posixAccount_pwdHash'][0]);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$errors[] = array(); // TODO error message
|
$errors[] = array(); // TODO error message
|
||||||
|
|
Loading…
Reference in New Issue