Added Super Admin role and WHMCS login

This commit is contained in:
Albert Santoni 2014-06-17 17:40:55 -04:00
parent e5a74e7285
commit 7f6fc7770a
8 changed files with 197 additions and 9 deletions

View file

@ -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']);