From d60ff99e7764e87d0403e5da4226f392fafc5084 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Cort=C3=A9s=20Cano?= <38475681+TrapoSAMA@users.noreply.github.com> Date: Tue, 21 Jul 2026 17:59:07 -0400 Subject: [PATCH] Apply user alias ownership check consistently --- model/AliasHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/AliasHandler.php b/model/AliasHandler.php index e9ad4cb3..9317a7f5 100644 --- a/model/AliasHandler.php +++ b/model/AliasHandler.php @@ -171,7 +171,7 @@ class AliasHandler extends PFAHandler */ public function init(string $id): bool { - if (!$this->is_admin && !$this->new) { + if (!$this->is_admin) { if (!Config::bool('edit_alias') || strtolower($id) !== strtolower($this->username)) { $this->errormsg[] = Config::lang_f('pEdit_alias_result_error', $id); return false;