mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Drop usage of goaop, replace implementation with events
This commit is contained in:
@@ -3,7 +3,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace api\models\authentication;
|
||||
|
||||
use api\aop\annotations\CollectModelMetrics;
|
||||
use api\components\ReCaptcha\Validator as ReCaptchaValidator;
|
||||
use api\models\base\ApiForm;
|
||||
use common\components\UserFriendlyRandomKey;
|
||||
@@ -56,10 +55,6 @@ class RepeatAccountActivationForm extends ApiForm {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @CollectModelMetrics(prefix="signup.repeatEmail")
|
||||
* @return bool
|
||||
*/
|
||||
public function sendRepeatMessage(): bool {
|
||||
if (!$this->validate()) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user