* [ADD] Option for enable/disable account's password expiry date. The expire time could be set too

* [ADD] Random generated passwords can be copied to clipboard
* [ADD] Random generated passwords can be viewed after being generated
* [MOD] Code refactoring
This commit is contained in:
nuxsmin
2018-03-26 13:30:42 +02:00
parent 97eb36c358
commit 4259b5f2d4
38 changed files with 435 additions and 2120 deletions

View File

@@ -2,8 +2,8 @@
/**
* sysPass
*
* @author nuxsmin
* @link https://syspass.org
* @author nuxsmin
* @link https://syspass.org
* @copyright 2012-2018, Rubén Domínguez nuxsmin@$syspass.org
*
* This file is part of sysPass.
@@ -24,8 +24,6 @@
namespace SP\DataModel;
use SP\Mgmt\CustomFields\CustomFieldTypes;
/**
* Class CustomFieldDefDataOld
*
@@ -162,23 +160,6 @@ class CustomFieldDefDataOld extends CustomFieldBaseData implements DataModelInte
$this->help = $help;
}
/**
* unserialize() checks for the presence of a function with the magic name __wakeup.
* If present, this function can reconstruct any resources that the object may have.
* The intended use of __wakeup is to reestablish any database connections that may have been lost during
* serialization and perform other reinitialization tasks.
*
* @return void
* @link http://php.net/manual/en/language.oop5.magic.php#language.oop5.magic.sleep
*/
public function __wakeup()
{
parent::__wakeup();
$this->moduleName = CustomFieldTypes::getFieldsModules($this->getModule());
$this->typeName = CustomFieldTypes::getFieldsTypes($this->getType(), true);
}
/**
* @return int
*/