This commit is contained in:
2026-04-18 14:18:52 +02:00
parent 5b4d3d435e
commit f3e5100d5d
126 changed files with 743 additions and 795 deletions

View File

@@ -12,7 +12,8 @@ class MatrixRegisterRequest extends FormRequest
public function authorize(): bool
{
$isOldEnough = $this->user()->created_at->lt(now()->subMonth());
$noAccount = !$this->user()->matrix_id;
$noAccount = ! $this->user()->matrix_id;
return $isOldEnough && $noAccount;
}