mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 09:44:55 +02:00
* fixed recovering account and changing password when salt is enabled
* added 'enabled' field in myaac_hooks table, which can enable or disable specified hook * password change minimal/maximal length is now more precise
This commit is contained in:
@@ -470,11 +470,6 @@ class OTS_Account extends OTS_Row_DAO implements IteratorAggregate, Countable
|
||||
{
|
||||
$this->data['password'] = (string) $password;
|
||||
}
|
||||
|
||||
public function setSalt($salt)
|
||||
{
|
||||
$this->data['salt'] = (string) $salt;
|
||||
}
|
||||
/**
|
||||
* E-mail address.
|
||||
*
|
||||
@@ -1032,10 +1027,6 @@ class OTS_Account extends OTS_Row_DAO implements IteratorAggregate, Countable
|
||||
$this->setPassword($value);
|
||||
break;
|
||||
|
||||
case 'salt':
|
||||
$this->setSalt($value);
|
||||
break;
|
||||
|
||||
case 'eMail':
|
||||
$this->setEMail($value);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user