From 95bf1be7c6dd5c62b3603dfb1d4e45bb17475e21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Professor=C2=A9?= Date: Wed, 10 Jun 2026 18:11:30 +0200 Subject: [PATCH] fix(auth): reset isLegacy flag when admin edits account password --- Sources/wired3/Core/ServerController+Admin.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/wired3/Core/ServerController+Admin.swift b/Sources/wired3/Core/ServerController+Admin.swift index 9ed953e1..1db73183 100644 --- a/Sources/wired3/Core/ServerController+Admin.swift +++ b/Sources/wired3/Core/ServerController+Admin.swift @@ -817,6 +817,7 @@ extension ServerController { account.passwordSalt = result.salt passwordChanged = true } + account.isLegacy = false } if let group = message.string(forField: "wired.account.group") { account.group = group