Added Super Admin role and WHMCS login
This commit is contained in:
parent
e5a74e7285
commit
7f6fc7770a
8 changed files with 197 additions and 9 deletions
|
@ -62,7 +62,9 @@ class UserController extends Zend_Controller_Action
|
|||
if ($formData['password'] != "xxxxxx") {
|
||||
$user->setPassword($formData['password']);
|
||||
}
|
||||
$user->setType($formData['type']);
|
||||
if (array_key_exists('type', $formData)) {
|
||||
$user->setType($formData['type']);
|
||||
}
|
||||
$user->setEmail($formData['email']);
|
||||
$user->setCellPhone($formData['cell_phone']);
|
||||
$user->setSkype($formData['skype']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue