We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30c6b57 commit 8d888adCopy full SHA for 8d888ad
1 file changed
app/libs/Auth/Models/User.php
@@ -1854,7 +1854,8 @@ public function activate():void {
1854
if(!$this->active) {
1855
$this->active = true;
1856
$this->spam_type = self::SpamTypeHam;
1857
- $this->login_failed_attempt = 10;
+ // reset it
1858
+ $this->login_failed_attempt = 0;
1859
Event::dispatch(new UserSpamStateUpdated(
1860
$this->getId()
1861
)
0 commit comments