documentation update + code fixes
This commit is contained in:
@ -27,7 +27,7 @@ class UserConfirmationService implements ServiceInterface
|
||||
public function run()
|
||||
{
|
||||
$this->model->trigger(UserEvent::EVENT_BEFORE_CONFIRMATION);
|
||||
if ((bool) $this->model->updateAttributes(['confirmed_at' => time()])) {
|
||||
if ((bool)$this->model->updateAttributes(['confirmed_at' => time()])) {
|
||||
$this->model->trigger(UserEvent::EVENT_AFTER_CONFIRMATION);
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user