Signed-off-by: Stéphane Jacob <sj@m4x.org>
- #1608: Displays proper url in auth-group-x login -JAC
* Email:
+ - #1597: Fixes reactivation of broken and suspended emails -JAC
- #1601: Displays errors and warnings when adding people to ML -JAC
* Search:
// Activates the email address as a redirection.
public function activate()
{
- if ($this->inactive) {
+ if (!$this->active) {
if (in_array($this->type, self::get_allowed_storages($this->user))) {
self::activate_storage($this->user, $this->type, $this->action);
} else {
$this->user->id(), $this->email);
}
S::logger()->log('email_on', $this->email . ($this->user->id() != S::v('uid') ? "(admin on {$this->user->login()})" : ''));
+ $this->disabled = false;
+ $this->broken = false;
$this->inactive = false;
$this->active = true;
}